summaryrefslogtreecommitdiffstats
path: root/avahi-core/socket.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-06-21 12:58:06 +0000
committerLennart Poettering <lennart@poettering.net>2005-06-21 12:58:06 +0000
commit9bc2eb5311514a53243c9e771658779524e70b9a (patch)
tree33df8456ca98d69567c5659c72b9356743a0faeb /avahi-core/socket.c
parent14b64d63bc620fce2008437a874bf285ac9b8e6e (diff)
* Update configure.ac to check for the availabilty of more functions
* really return sensible error codes from avahi_server_add_xx() * make all users of avahi_server_add_xxx() check for the validity * check for local RR conflicts * only suppress local queries by remote queries if they have an empty known answer suppresion list * fix FIONREAD call git-svn-id: file:///home/lennart/svn/public/avahi/trunk@136 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/socket.c')
-rw-r--r--avahi-core/socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/avahi-core/socket.c b/avahi-core/socket.c
index 8f3d896..b635dca 100644
--- a/avahi-core/socket.c
+++ b/avahi-core/socket.c
@@ -452,7 +452,7 @@ AvahiDnsPacket* avahi_recv_dns_packet_ipv4(gint fd, struct sockaddr_in *ret_sa,
ssize_t l;
struct cmsghdr *cmsg;
gboolean found_ttl = FALSE, found_iface = FALSE;
- guint ms;
+ gint ms;
g_assert(fd >= 0);
g_assert(ret_sa);
@@ -536,7 +536,7 @@ AvahiDnsPacket* avahi_recv_dns_packet_ipv6(gint fd, struct sockaddr_in6 *ret_sa,
struct iovec io;
uint8_t aux[64];
ssize_t l;
- guint ms;
+ gint ms;
struct cmsghdr *cmsg;
gboolean found_ttl = FALSE, found_iface = FALSE;