diff options
author | Kay Sievers <kay@vrfy.org> | 2013-11-09 00:58:11 +0100 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2013-11-09 00:58:11 +0100 |
commit | dbb642afae6aa825594fb1c57dff632b013666a3 (patch) | |
tree | 95e61ef5c72ddb2bfb2e43531c8ca8a89551a3f7 /src/libsystemd-bus/bus-message.c | |
parent | 8159d91a9c92aaee66d450ab0daff88f6e1a42b3 (diff) |
bus: let magic ":no-sender" pass the validation
Diffstat (limited to 'src/libsystemd-bus/bus-message.c')
-rw-r--r-- | src/libsystemd-bus/bus-message.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-bus/bus-message.c b/src/libsystemd-bus/bus-message.c index 42c764c62a..2c2e69e393 100644 --- a/src/libsystemd-bus/bus-message.c +++ b/src/libsystemd-bus/bus-message.c @@ -3928,7 +3928,7 @@ int bus_message_parse_fields(sd_bus_message *m) { if (!streq(signature, "s")) return -EBADMSG; - r = message_peek_field_string(m, service_name_is_valid, &ri, &m->destination); + r = message_peek_field_string(m, sender_name_is_valid, &ri, &m->destination); break; case SD_BUS_MESSAGE_HEADER_SENDER: @@ -3939,7 +3939,7 @@ int bus_message_parse_fields(sd_bus_message *m) { if (!streq(signature, "s")) return -EBADMSG; - r = message_peek_field_string(m, service_name_is_valid, &ri, &m->sender); + r = message_peek_field_string(m, sender_name_is_valid, &ri, &m->sender); break; |