diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-05-14 10:03:49 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-05-15 23:07:02 +0900 |
commit | 62cf0851430b4c49fe6b91cfad7de858dda782a2 (patch) | |
tree | 9d639a0e74ee3954feb73d432d506485112cfa3f | |
parent | 01adcd691d9d7ab95db8bb02313a454404b566d6 (diff) | |
download | systemd-62cf0851430b4c49fe6b91cfad7de858dda782a2.tar.gz |
timesync: use NULL instead of empty string
-rw-r--r-- | src/timesync/timesyncd-bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timesync/timesyncd-bus.c b/src/timesync/timesyncd-bus.c index 1932043fb9..6243debfeb 100644 --- a/src/timesync/timesyncd-bus.c +++ b/src/timesync/timesyncd-bus.c @@ -56,7 +56,7 @@ static int property_get_current_server_name( assert(bus); assert(reply); - return sd_bus_message_append(reply, "s", *s ? (*s)->string : ""); + return sd_bus_message_append(reply, "s", *s ? (*s)->string : NULL); } static int property_get_current_server_address( |