From 5c3759bf8a3d418fa877e6a278f3150f404745b2 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 14 Jan 2012 01:53:47 +0100 Subject: journal: fix bad memory access --- src/journal/journald.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/journal/journald.c b/src/journal/journald.c index 53dbf8e138..39263bfe4c 100644 --- a/src/journal/journald.c +++ b/src/journal/journald.c @@ -489,7 +489,7 @@ static void dispatch_message_real(Server *s, exe = strappend("_EXE=", t); free(t); - if (comm) + if (exe) IOVEC_SET_STRING(iovec[n++], exe); } -- cgit v1.2.3-54-g00ecf