diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-28 10:48:51 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-28 10:48:51 +0000 |
commit | 59b67824d6ada9e224beef8ec9a6e6e566e1fcf8 (patch) | |
tree | b9dac56dd55c1c5593dab1fa3017fd24bf0a8d32 /srUtils.c | |
parent | 082737dec693fbb531ca9dad3ab9b638baaa3327 (diff) | |
download | rsyslog-59b67824d6ada9e224beef8ec9a6e6e566e1fcf8.tar.gz rsyslog-59b67824d6ada9e224beef8ec9a6e6e566e1fcf8.tar.bz2 rsyslog-59b67824d6ada9e224beef8ec9a6e6e566e1fcf8.zip |
some more testing and cleanup with the queue class (pretty stable now)
Diffstat (limited to 'srUtils.c')
-rwxr-xr-x | srUtils.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -344,14 +344,14 @@ timeoutVal(struct timespec *pt) assert(pt != NULL); /* compute timeout */ clock_gettime(CLOCK_REALTIME, &t); -RUNLOG_VAR("%ld", pt->tv_sec); -RUNLOG_VAR("%ld", t.tv_sec); -RUNLOG_VAR("%ld", pt->tv_nsec); -RUNLOG_VAR("%ld", t.tv_nsec); +//RUNLOG_VAR("%ld", pt->tv_sec); +//RUNLOG_VAR("%ld", t.tv_sec); +//RUNLOG_VAR("%ld", pt->tv_nsec); +//RUNLOG_VAR("%ld", t.tv_nsec); iTimeout = (pt->tv_nsec - t.tv_nsec) / 1000000; -RUNLOG_VAR("%ld", iTimeout); +//RUNLOG_VAR("%ld", iTimeout); iTimeout += (pt->tv_sec - t.tv_sec) * 1000; -RUNLOG_VAR("%ld", iTimeout); +//RUNLOG_VAR("%ld", iTimeout); if(iTimeout < 0) iTimeout = 0; |