summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-match.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-10-30 02:38:52 +0100
committerLennart Poettering <lennart@poettering.net>2013-10-30 02:38:52 +0100
commit38911893c55adfe0ec2c01785dfa49059b409d69 (patch)
treeb5fc6ae7fd08b2eaea81ba0bec4e8c75e4f5fdbf /src/libsystemd-bus/bus-match.c
parente834047795417b003dbca5a355e8ccdd3148f795 (diff)
bus: fix build
Diffstat (limited to 'src/libsystemd-bus/bus-match.c')
-rw-r--r--src/libsystemd-bus/bus-match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/bus-match.c b/src/libsystemd-bus/bus-match.c
index 49fc6335c2..61b8a5cd88 100644
--- a/src/libsystemd-bus/bus-match.c
+++ b/src/libsystemd-bus/bus-match.c
@@ -153,7 +153,7 @@ static bool value_node_test(
* should contain all well-known names of the sender,
* hence we can fix things there correctly. */
- if (node->value.str[0] != ':' && value_str[0] == ':')
+ if (node->value.str[0] != ':' && value_str && value_str[0] == ':')
return true;
return false;