From 62cf0851430b4c49fe6b91cfad7de858dda782a2 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Mon, 14 May 2018 10:03:49 +0900 Subject: [PATCH] timesync: use NULL instead of empty string --- src/timesync/timesyncd-bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(