diff options
author | dscho <dscho> | 2001-09-21 23:33:47 +0000 |
---|---|---|
committer | dscho <dscho> | 2001-09-21 23:33:47 +0000 |
commit | febced55362321b1015fe23ca7d7b831c28acfcc (patch) | |
tree | 2b2d95725059e4d1ea0c38a68c095e685d338b3f /main.c | |
parent | c880fd33ff71ca0b53eaf6bd9942f74be67fe4e4 (diff) | |
download | libtdevnc-febced55362321b1015fe23ca7d7b831c28acfcc.tar.gz libtdevnc-febced55362321b1015fe23ca7d7b831c28acfcc.zip |
http added, prepare for cursor
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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); } |