Did some more work on the daemon; many debug messages are in the code at

the moment.
This commit is contained in:
Martin Baulig
1998-06-18 19:04:44 +00:00
parent 1b90ed4fcc
commit 134ec106b3
2 changed files with 77 additions and 74 deletions

View File

@@ -42,7 +42,7 @@ static char rcsid [] = "!Header: gnuserv.c,v 2.1 95/02/16 11:58:27 arup alpha !"
#include <sys/select.h>
#endif
extern void handle_socket_connection __P((int));
extern void handle_socket_connection __P((glibtop *, int));
#if !defined(SYSV_IPC) && !defined(UNIX_DOMAIN_SOCKETS) && !defined(INTERNET_DOMAIN_SOCKETS)
main ()
@@ -663,7 +663,7 @@ handle_internet_request (int ls)
fprintf (stderr, "Accepted connection from %s.\n", inet_ntoa (peer.sin_addr));
#endif
handle_socket_connection (s);
handle_socket_connection (&glibtop_global_server, s);
close (s);