cleanup
[presencevnc] / libvnc / libvncclient / vncviewer.c
index 553028f..a3c2603 100644 (file)
@@ -282,6 +282,8 @@ rfbBool rfbInitClient(rfbClient* client,int* argc,char** argv) {
        i--;
       }
     }
+  } else if(client->listenSpecified) {
+       listenForIncomingConnections(client);
   }
 
   if(!rfbInitConnection(client)) {