]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/dsi/dsi_tcp.c
Remove loglevel option for Tracker RDF
[netatalk.git] / libatalk / dsi / dsi_tcp.c
index 2dc5e15ddbafd72888f73d13f29db347d0ad88e1..f73147a81a9565309bcbe518042edf1f6865e106 100644 (file)
@@ -117,13 +117,15 @@ void dsi_free(DSI *dsi)
     free(dsi->buffer);
     dsi->buffer = NULL;
 
+#ifdef USE_ZEROCONF
     free(dsi->bonjourname);
     dsi->bonjourname = NULL;
+#endif
 }
 
 static struct itimerval itimer;
 /* accept the socket and do a little sanity checking */
-static int dsi_tcp_open(DSI *dsi)
+static pid_t dsi_tcp_open(DSI *dsi)
 {
     pid_t pid;
     SOCKLEN_T len;