X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fhostname%2Fhostnamed.c;h=25e154b224870f1e54feb531a20e869fe7f9c3d8;hp=979dcfdc7f42442a2f9c485a3e1123eedd8e5794;hb=c6a818c82035da91e;hpb=8cb17a6dc88cecfcee3189765031e9e8a1f4106b diff --git a/src/hostname/hostnamed.c b/src/hostname/hostnamed.c index 979dcfdc7..25e154b22 100644 --- a/src/hostname/hostnamed.c +++ b/src/hostname/hostnamed.c @@ -605,7 +605,7 @@ static DBusHandlerResult hostname_message_handler( if (!reply) goto oom; - if (!dbus_connection_send(connection, reply, NULL)) + if (!bus_maybe_send_reply(connection, message, reply)) goto oom; dbus_message_unref(reply);