summaryrefslogtreecommitdiff
path: root/src/daemon/gnuserv.c
diff options
context:
space:
mode:
authorMartin Baulig <martin@src.gnome.org>1998-06-18 19:04:44 +0000
committerMartin Baulig <martin@src.gnome.org>1998-06-18 19:04:44 +0000
commit134ec106b3ee9e6f1eb9dab90a81839c50cb30c6 (patch)
tree96a9eed3c42fb092332151e867ebe54b302ea40d /src/daemon/gnuserv.c
parent1b90ed4fcc3204d9737654491b9cd431a8b56c7a (diff)
downloadlibgtop-134ec106b3ee9e6f1eb9dab90a81839c50cb30c6.tar.gz
Did some more work on the daemon; many debug messages are in the code at
the moment.
Diffstat (limited to 'src/daemon/gnuserv.c')
-rw-r--r--src/daemon/gnuserv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/gnuserv.c b/src/daemon/gnuserv.c
index e5016e7d..86a2655b 100644
--- a/src/daemon/gnuserv.c
+++ b/src/daemon/gnuserv.c
@@ -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);