summaryrefslogtreecommitdiffstats
path: root/srUtils.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-28 10:48:51 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-28 10:48:51 +0000
commit59b67824d6ada9e224beef8ec9a6e6e566e1fcf8 (patch)
treeb9dac56dd55c1c5593dab1fa3017fd24bf0a8d32 /srUtils.c
parent082737dec693fbb531ca9dad3ab9b638baaa3327 (diff)
downloadrsyslog-59b67824d6ada9e224beef8ec9a6e6e566e1fcf8.tar.gz
rsyslog-59b67824d6ada9e224beef8ec9a6e6e566e1fcf8.tar.xz
rsyslog-59b67824d6ada9e224beef8ec9a6e6e566e1fcf8.zip
some more testing and cleanup with the queue class (pretty stable now)
Diffstat (limited to 'srUtils.c')
-rwxr-xr-xsrUtils.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/srUtils.c b/srUtils.c
index 9724190a..e15456a4 100755
--- a/srUtils.c
+++ b/srUtils.c
@@ -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;