fixed/improved logging
[rxpd] / src / rxpd_socket.c
index 80f4fed..d634a98 100644 (file)
@@ -174,7 +174,7 @@ rxpd_socket_accept (void* ptr)
       char buf[512];
       *buf = '\0';
 
-      if (rxpd_socket_tcp4addr (conn, buf, "", 511))
+      if (self->rxpd_socket_addr (conn, buf, "", 511))
         {
           rxpd_log (self->base, LOG_INFO, "incoming connection '%s'\n", buf);
           rxpd_connection_spawn (conn);