summaryrefslogtreecommitdiffstats
path: root/select.c
diff options
context:
space:
mode:
authorAndreas Eversberg2010-01-24 14:22:34 +0100
committerAndreas Eversberg2010-01-24 14:22:34 +0100
commit34b17bad86b02fae864505ae5fe7055a2bd63290 (patch)
tree5bc4fe77434528ae57e7aa6f2f2a5e577fec5d96 /select.c
parentAdded "release" action and timeout to "execute" action. (diff)
downloadlcr-34b17bad86b02fae864505ae5fe7055a2bd63290.tar.gz
lcr-34b17bad86b02fae864505ae5fe7055a2bd63290.tar.xz
lcr-34b17bad86b02fae864505ae5fe7055a2bd63290.zip
Added queue buffer for chan_lcr sending faxes without interruption.
Use options "t:q250" for disabling mISDN_dsp and adding a 250ms delay. modified: README modified: bchannel.c modified: bchannel.h modified: chan_lcr.c modified: chan_lcr.h modified: select.c
Diffstat (limited to 'select.c')
-rw-r--r--select.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/select.c b/select.c
index ba9b563..8763739 100644
--- a/select.c
+++ b/select.c
@@ -104,9 +104,9 @@ again:
}
if (polling)
timer = &no_time;
-#warning TESTING
- if (!timer)
- printf("wait till infinity ..."); fflush(stdout);
+//#warning TESTING
+// if (!timer)
+// printf("wait till infinity ..."); fflush(stdout);
FD_ZERO(&readset);
FD_ZERO(&writeset);
@@ -129,9 +129,9 @@ again:
rc = select(maxfd+1, &readset, &writeset, &exceptset, timer);
if (lock)
lock();
-#warning TESTING
- if (!timer)
- printf("interrupted.\n");
+//#warning TESTING
+// if (!timer)
+// printf("interrupted.\n");
if (rc < 0)
return 0;
if (global_change && *global_change) {