summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-01-14 01:53:47 +0100
committerLennart Poettering <lennart@poettering.net>2012-01-14 01:54:33 +0100
commit5c3759bf8a3d418fa877e6a278f3150f404745b2 (patch)
tree25de435e7b18afb1db055d073111b40fefa7b440
parent0dad12c190b7493955cd60d2a1625199b1709f69 (diff)
journal: fix bad memory access
-rw-r--r--src/journal/journald.c2
1 files changed, 1 insertions, 1 deletions
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);
}