Revert "hostnamed: prevent it from crashing if the chassis is unknown"

This reverts commit 95b015de38.

"bus: handle serialization of NULL strings" (cd6f997f71)
should fix this issue.
This commit is contained in:
Kay Sievers
2013-11-06 13:38:28 +01:00
parent f366954523
commit 6c8ea34fd9
-3
View File
@@ -360,9 +360,6 @@ static int property_get_chassis(
else
name = c->data[PROP_CHASSIS];
if(!name)
name = "";
r = sd_bus_message_append(reply, "s", name);
if (r < 0)
return r;