summaryrefslogtreecommitdiffstats
path: root/avahi-daemon/dbus-protocol.c
diff options
context:
space:
mode:
authorTrent Lloyd <lathiat@bur.st>2005-06-29 03:34:45 +0000
committerTrent Lloyd <lathiat@bur.st>2005-06-29 03:34:45 +0000
commit99ad32213bca66d3350de6bbb0ef69102eb2fd7b (patch)
tree4e05de25b38aa7230bb7fe656f70a09f775d698a /avahi-daemon/dbus-protocol.c
parent54d7450ef8b085110c380d4263794deffa5edda4 (diff)
* Patch by Steev Klimaszewski for gentoo compilation
* Small dbus-protocol.c change git-svn-id: file:///home/lennart/svn/public/avahi/trunk@153 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-daemon/dbus-protocol.c')
-rw-r--r--avahi-daemon/dbus-protocol.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/avahi-daemon/dbus-protocol.c b/avahi-daemon/dbus-protocol.c
index 242ad59..2d1db32 100644
--- a/avahi-daemon/dbus-protocol.c
+++ b/avahi-daemon/dbus-protocol.c
@@ -53,7 +53,7 @@ do_register (DBusConnection *conn, DBusMessage *message)
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
}
- g_message ("Register received from: %s", s);
+ g_message ("Register received from: %s (dbus:% s)", s, dbus_message_get_sender (message));
return DBUS_HANDLER_RESULT_HANDLED;
}
@@ -92,10 +92,11 @@ signal_filter (DBusConnection *conn, DBusMessage *message, void *user_data)
} else if (dbus_message_is_signal (message,
#ifdef DBUS_USE_NEW_API
DBUS_INTERFACE_DBUS,
+ "NameAcquired"))
#else
DBUS_INTERFACE_ORG_FREEDESKTOP_DBUS,
-#endif
"ServiceAcquired"))
+#endif
{
char *name;