diff options
author | deva <deva> | 2005-05-03 17:13:25 +0000 |
---|---|---|
committer | deva <deva> | 2005-05-03 17:13:25 +0000 |
commit | 099291cc4cc648c1938a7245d9abccbc6738a46d (patch) | |
tree | ccd38cd78cd87a9d34c06ce48b35501738786f06 /src/miav.cc | |
parent | f7523239e45fb930db0273170cb93cb09fe370b5 (diff) |
Fixed some missong Info object references.
Diffstat (limited to 'src/miav.cc')
-rw-r--r-- | src/miav.cc | 6 |
1 files changed, 5 insertions, 1 deletions
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()); |