]> git.meshlink.io Git - catta/blobdiff - avahi-core/iface-pfroute.c
* added a missing include in dbus-protocol.c
[catta] / avahi-core / iface-pfroute.c
index f1a1d47a13e973faa74d5e2c84f35c5e1b983c07..f2401e9475c34fcdc4da6d36597de4ca421a83c4 100644 (file)
@@ -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);