From 099291cc4cc648c1938a7245d9abccbc6738a46d Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 3 May 2005 17:13:25 +0000 Subject: Fixed some missong Info object references. --- src/miav.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/miav.cc') diff --git a/src/miav.cc b/src/miav.cc index 1518795..ba30a17 100644 --- a/src/miav.cc +++ b/src/miav.cc @@ -31,6 +31,9 @@ /* * $Log$ + * Revision 1.9 2005/05/03 17:13:25 deva + * Fixed some missong Info object references. + * * Revision 1.8 2005/05/03 09:22:12 deva * Implemented the gui part of the info object. * @@ -93,6 +96,7 @@ int grab(int argc, char *argv[]) { * This function starts the MIaV server. */ int server(int argc, char *argv[]) { + InfoConsole info; int port = config->readInt("server_port"); pid_t childpid; // variable to store the child's pid @@ -100,7 +104,7 @@ int server(int argc, char *argv[]) { // (ellers kommer der kernel-brok) printf("Listening on port %d\n", port); - Socket *socket = new Socket(port); + Socket *socket = new Socket(port, &info); while(1) { Socket *csocket = new Socket(socket->slisten()); -- cgit v1.2.3