mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 08:26:52 +03:00
timesync: use NULL instead of empty string
This commit is contained in:
parent
01adcd691d
commit
62cf085143
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user