summaryrefslogtreecommitdiff
path: root/src/miav.cc
diff options
context:
space:
mode:
authordeva <deva>2005-05-03 17:13:25 +0000
committerdeva <deva>2005-05-03 17:13:25 +0000
commit099291cc4cc648c1938a7245d9abccbc6738a46d (patch)
treeccd38cd78cd87a9d34c06ce48b35501738786f06 /src/miav.cc
parentf7523239e45fb930db0273170cb93cb09fe370b5 (diff)
Fixed some missong Info object references.
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());