summaryrefslogtreecommitdiffstats
path: root/threads.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-21 16:25:55 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-21 16:25:55 +0000
commitc26059ea2689f5331f9820caf92a8a52a5006bfc (patch)
tree08d1f3e4b2a0ca83cdcfaa0824be5f2611e783a5 /threads.c
parentfe6b6de3035b6bcea07f302ec0ef2895ac6f2285 (diff)
downloadrsyslog-c26059ea2689f5331f9820caf92a8a52a5006bfc.tar.gz
rsyslog-c26059ea2689f5331f9820caf92a8a52a5006bfc.tar.xz
rsyslog-c26059ea2689f5331f9820caf92a8a52a5006bfc.zip
removed code no longer needed
Diffstat (limited to 'threads.c')
-rw-r--r--threads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/threads.c b/threads.c
index ea79c380..ea0fb19b 100644
--- a/threads.c
+++ b/threads.c
@@ -253,7 +253,7 @@ thrdSleep(thrdInfo_t *pThis, int iSeconds, int iuSeconds)
/* there may be a race condition if pthread_kill() is called after unblock but
* before the select() is setup. TODO: check and re-eval -- rgerhards, 2007-12-20
*/
- select(0, NULL, NULL, NULL, &tvSelectTimeout);
+ select(1, NULL, NULL, NULL, &tvSelectTimeout);
if(pThis->bShallStop)
iRet = RS_RET_TERMINATE_NOW;
else