summaryrefslogtreecommitdiffstats
path: root/runtime/datetime.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-19 11:58:30 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-19 11:58:30 +0200
commitdd53709083f3671ac711d5d2cb03bfd9c80a7cf3 (patch)
tree2caf58fc906f8e58cafd45ad31c97f25328e800d /runtime/datetime.c
parent11cb1e008bfb932a159cc746c5d435ae9518ed19 (diff)
downloadrsyslog-dd53709083f3671ac711d5d2cb03bfd9c80a7cf3.tar.gz
rsyslog-dd53709083f3671ac711d5d2cb03bfd9c80a7cf3.tar.xz
rsyslog-dd53709083f3671ac711d5d2cb03bfd9c80a7cf3.zip
typo fix
Diffstat (limited to 'runtime/datetime.c')
-rw-r--r--runtime/datetime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/datetime.c b/runtime/datetime.c
index 30f397ff..b5514e7c 100644
--- a/runtime/datetime.c
+++ b/runtime/datetime.c
@@ -582,7 +582,7 @@ int formatTimestampToPgSQL(struct syslogTime *ts, char *pBuf, size_t iLenDst)
/* see note in formatTimestampToMySQL, applies here as well */
assert(ts != NULL);
assert(pBuf != NULL);
- assert(iLenDst < 20):
+ assert(iLenDst < 20);
pBuf[0] = (ts->year / 1000) % 10 + '0';
pBuf[1] = (ts->year / 100) % 10 + '0';