Merge branch 'v8-stable' of git+ssh://git.adiscon.com/git/rsyslog into v8-stable

This commit is contained in:
Rainer Gerhards 2014-07-14 11:39:06 +02:00
commit 5a80893186

View File

@ -275,7 +275,6 @@ waitMainQEmpty(tcps_sess_t *pSess)
int iPrint = 0;
DEFiRet;
fprintf(stderr, "WaitMainQEmpty, initial size %d\n", iOverallQueueSize);
while(1) {
if(iOverallQueueSize == 0) {
/* verify that queue is still empty (else it could just be a race!) */
@ -288,8 +287,6 @@ fprintf(stderr, "WaitMainQEmpty, initial size %d\n", iOverallQueueSize);
break;
if(iPrint++ % 500 == 0)
dbgprintf("imdiag sleeping, wait queues drain, curr size %d\n", iOverallQueueSize);
if(iPrint++ % 500 == 0)
fprintf(stderr, "imdiag sleeping, wait queues drain, curr size %d\n", iOverallQueueSize);
srSleep(0,200000);/* wait a little bit */
}