summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Eitzenberger <heitzenberger@astaro.com>2009-10-09 15:07:58 +0200
committerHarald Welte <laforge@gnumonks.org>2010-10-21 19:15:37 +0200
commitbb19fdb80b690ef6400a9145953c6dbb58dbef17 (patch)
treebdb124f174ea521eed8854a7ebc015e53199a3fe
parent934e1eaa5dbf98c22a037af0d6fefdb1f5b43db6 (diff)
ASTARO: fix one byte extra print
Signed-off-by: Holger Eitzenberger <heitzenberger@astaro.com>
-rw-r--r--output/ulogd_output_ASTARO.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/output/ulogd_output_ASTARO.c b/output/ulogd_output_ASTARO.c
index d4dea45..6c9f1ff 100644
--- a/output/ulogd_output_ASTARO.c
+++ b/output/ulogd_output_ASTARO.c
@@ -466,7 +466,7 @@ astaro_output(struct ulogd_pluginstance *pi, unsigned *flags)
log_types[type].desc, log_types[type].action);
pch += print_dyn_part(pi, type, pch, end - pch);
- *(pch + 1) = '\0';
+ *pch = '\0';
syslog(priv->level | priv->facility, "%s\n", buf);