diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-10-06 12:07:53 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-10-06 12:07:53 +0200 |
commit | b849df20045ca5dfec36cdff5641e8a78d326b49 (patch) | |
tree | 7c518f7679e19ef498e81f1b7fcfea553bb67717 /runtime/datetime.c | |
parent | 1e53745dc9f11a90c613d177b2caba563c2b83be (diff) | |
parent | 39000a62024510cd62607200e6100e3cd7c05005 (diff) | |
download | rsyslog-b849df20045ca5dfec36cdff5641e8a78d326b49.tar.gz rsyslog-b849df20045ca5dfec36cdff5641e8a78d326b49.tar.xz rsyslog-b849df20045ca5dfec36cdff5641e8a78d326b49.zip |
Merge branch 'master' into perf
Conflicts:
ChangeLog
Diffstat (limited to 'runtime/datetime.c')
-rw-r--r-- | runtime/datetime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/datetime.c b/runtime/datetime.c index 47cde8c2..20ca6191 100644 --- a/runtime/datetime.c +++ b/runtime/datetime.c @@ -582,7 +582,7 @@ int formatTimestampSecFrac(struct syslogTime *ts, char* pBuf, size_t iLenBuf) lenRet = snprintf(pBuf, iLenBuf, szFmtStr, ts->secfrac); } else { pBuf[0] = '0'; - pBuf[1] = '1'; + pBuf[1] = '\0'; lenRet = 1; } |