summaryrefslogtreecommitdiff
path: root/src/miav.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/miav.cc')
-rw-r--r--src/miav.cc6
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());