summaryrefslogtreecommitdiffstats
path: root/avahi-daemon/dbus-protocol.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-09-16 01:19:32 +0000
committerLennart Poettering <lennart@poettering.net>2005-09-16 01:19:32 +0000
commit907bf2598220828a50b22cc00395524bb74feb8e (patch)
treebf5d8cd4f8a41afd5ce662806e7b8d054131c042 /avahi-daemon/dbus-protocol.c
parentf558c2b609d2cc261d562e09e70fb2c69187e78f (diff)
Make AVAHI_PROTO_xxx well defined constants
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@595 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-daemon/dbus-protocol.c')
-rw-r--r--avahi-daemon/dbus-protocol.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/avahi-daemon/dbus-protocol.c b/avahi-daemon/dbus-protocol.c
index 1e69916..d817038 100644
--- a/avahi-daemon/dbus-protocol.c
+++ b/avahi-daemon/dbus-protocol.c
@@ -877,7 +877,7 @@ static void sync_host_name_resolver_callback(AvahiSHostNameResolver *r, AvahiIfI
i_interface = (int32_t) interface;
i_protocol = (int32_t) protocol;
- i_aprotocol = (int32_t) a->family;
+ i_aprotocol = (int32_t) a->proto;
reply = dbus_message_new_method_return(i->message);
dbus_message_append_args(
@@ -917,7 +917,7 @@ static void sync_address_resolver_callback(AvahiSAddressResolver *r, AvahiIfInde
i_interface = (int32_t) interface;
i_protocol = (int32_t) protocol;
- i_aprotocol = (int32_t) address->family;
+ i_aprotocol = (int32_t) address->proto;
reply = dbus_message_new_method_return(i->message);
dbus_message_append_args(
@@ -1201,7 +1201,7 @@ static void sync_service_resolver_callback(
i_interface = (int32_t) interface;
i_protocol = (int32_t) protocol;
- i_aprotocol = (int32_t) a->family;
+ i_aprotocol = (int32_t) a->proto;
reply = dbus_message_new_method_return(i->message);
dbus_message_append_args(
@@ -1247,7 +1247,7 @@ static void async_address_resolver_callback(AvahiSAddressResolver *r, AvahiIfInd
i_interface = (int32_t) interface;
i_protocol = (int32_t) protocol;
- i_aprotocol = (int32_t) address->family;
+ i_aprotocol = (int32_t) address->proto;
reply = dbus_message_new_signal(i->path, AVAHI_DBUS_INTERFACE_ADDRESS_RESOLVER, "Found");
dbus_message_append_args(
@@ -1331,7 +1331,7 @@ static void async_host_name_resolver_callback(AvahiSHostNameResolver *r, AvahiIf
i_interface = (int32_t) interface;
i_protocol = (int32_t) protocol;
- i_aprotocol = (int32_t) a->family;
+ i_aprotocol = (int32_t) a->proto;
reply = dbus_message_new_signal(i->path, AVAHI_DBUS_INTERFACE_HOST_NAME_RESOLVER, "Found");
dbus_message_append_args(
@@ -1429,7 +1429,7 @@ static void async_service_resolver_callback(
i_interface = (int32_t) interface;
i_protocol = (int32_t) protocol;
- i_aprotocol = (int32_t) a->family;
+ i_aprotocol = (int32_t) a->proto;
reply = dbus_message_new_signal(i->path, AVAHI_DBUS_INTERFACE_SERVICE_RESOLVER, "Found");
dbus_message_append_args(