diff options
author | Sebastien Estienne <sebastien.estienne@gmail.com> | 2005-10-21 14:44:00 +0000 |
---|---|---|
committer | Sebastien Estienne <sebastien.estienne@gmail.com> | 2005-10-21 14:44:00 +0000 |
commit | 59395d1f90286156626bdb8df70752b7d169a9ce (patch) | |
tree | 4e64fec6bfd64779cb9f34ee6b8c1715444a2536 /avahi-core/iface-pfroute.c | |
parent | 4e70b25df5a2ed6c11ff2df04b7f925e8d48bfbe (diff) |
* added a missing include in dbus-protocol.c
* added REUSEPORT in socket.c
* cosmetic cleaning in iface-pfroute.c
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@836 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/iface-pfroute.c')
-rw-r--r-- | avahi-core/iface-pfroute.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/avahi-core/iface-pfroute.c b/avahi-core/iface-pfroute.c index f1a1d47..f2401e9 100644 --- a/avahi-core/iface-pfroute.c +++ b/avahi-core/iface-pfroute.c @@ -230,15 +230,12 @@ static void socket_event(AvahiWatch *w, int fd, AvahiWatchEvent event,void *user assert(fd == nl->fd); do { - time_t now = time(NULL); if((bytes = recv(nl->fd, msg, 2048, MSG_DONTWAIT)) < 0) { if (errno == EAGAIN || errno == EINTR) return; avahi_log_error(__FILE__": recv() failed: %s", strerror(errno)); return; } - - avahi_log_debug("socket_event: got message of size %d on %s", (int)bytes, ctime(&now)); parse_rtmsg((struct rt_msghdr *)msg, bytes ,m); } while (bytes > 0); |