From febced55362321b1015fe23ca7d7b831c28acfcc Mon Sep 17 00:00:00 2001 From: dscho Date: Fri, 21 Sep 2001 23:33:47 +0000 Subject: http added, prepare for cursor --- main.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index 43cb0e0..6d9abe2 100644 --- a/main.c +++ b/main.c @@ -310,6 +310,11 @@ rfbScreenInfoPtr rfbDefaultScreenInit(int argc,char** argv,int width,int height, rfbScreen->maxFd=0; rfbScreen->rfbListenSock=-1; rfbScreen->udpPort=0; + rfbScreen->httpPort=0; + rfbScreen->httpDir=NULL; + rfbScreen->httpListenSock=-1; + rfbScreen->httpSock=-1; + rfbScreen->httpFP=NULL; rfbScreen->inetdInitDone = FALSE; rfbScreen->desktopName = "LibVNCServer"; rfbScreen->rfbAlwaysShared = FALSE; @@ -388,7 +393,7 @@ void processEvents(rfbScreenInfoPtr rfbScreen,long usec) { rfbCheckFds(rfbScreen,usec); - //httpCheckFds(rfbScreen); + httpCheckFds(rfbScreen); #ifdef CORBA corbaCheckFds(rfbScreen); #endif @@ -421,6 +426,7 @@ void runEventLoop(rfbScreenInfoPtr rfbScreen, long usec, Bool runInBackground) } rfbInitSockets(rfbScreen); + httpInitSockets(rfbScreen); while(1) processEvents(rfbScreen,usec); } -- cgit v1.2.1