timesync: use NULL instead of empty string

This commit is contained in:
Yu Watanabe
2018-05-15 23:07:02 +09:00
parent 01adcd691d
commit 62cf085143
+1 -1
View File
@@ -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(