From: Yu Watanabe Date: Mon, 14 May 2018 01:03:49 +0000 (+0900) Subject: timesync: use NULL instead of empty string X-Git-Tag: v239~240^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=62cf0851430b4c49fe6b91cfad7de858dda782a2;p=thirdparty%2Fsystemd.git timesync: use NULL instead of empty string --- diff --git a/src/timesync/timesyncd-bus.c b/src/timesync/timesyncd-bus.c index 1932043fb95..6243debfebe 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(