diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-27 17:38:20 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-27 17:38:20 +0000 |
commit | a67cd9683ec4a7091a512be705eef105f989410d (patch) | |
tree | f3b54a9fd131c2bb76922eabe923b01a1cb99364 /debug.c | |
parent | 4b44a34d71b8b9bfc2574adeff4e735a8e97c876 (diff) | |
download | rsyslog-a67cd9683ec4a7091a512be705eef105f989410d.tar.gz rsyslog-a67cd9683ec4a7091a512be705eef105f989410d.tar.xz rsyslog-a67cd9683ec4a7091a512be705eef105f989410d.zip |
fixed queue termination in case bSaveOnShutdown is 0
Diffstat (limited to 'debug.c')
-rw-r--r-- | debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -726,8 +726,8 @@ dbgprintf(char *fmt, ...) if(bWasNL) { if(bPrintTime) { clock_gettime(CLOCK_REALTIME, &t); - fprintf(stddbg, "%4.4ld.%9.9ld:", t.tv_sec % 1000, t.tv_nsec); - if(altdbg != NULL) fprintf(altdbg, "%4.4ld.%9.9ld:", t.tv_sec % 1000, t.tv_nsec); + fprintf(stddbg, "%4.4ld.%9.9ld:", t.tv_sec % 10000, t.tv_nsec); + if(altdbg != NULL) fprintf(altdbg, "%4.4ld.%9.9ld:", t.tv_sec % 10000, t.tv_nsec); } fprintf(stddbg, "%s: ", pszThrdName); if(altdbg != NULL) fprintf(altdbg, "%s: ", pszThrdName); |