diff options
author | dscho <dscho> | 2005-05-07 13:33:09 +0000 |
---|---|---|
committer | dscho <dscho> | 2005-05-07 13:33:09 +0000 |
commit | 34f714bcdc3e2d7a21a9179357dc93f2561301c8 (patch) | |
tree | 850d98f9535bd0e1fa10faff773e5069bbefbd40 /libvncserver/httpd.c | |
parent | 1bb36df34ea25a3379b5232154a55e4da489ab60 (diff) | |
download | libtdevnc-34f714bcdc3e2d7a21a9179357dc93f2561301c8.tar.gz libtdevnc-34f714bcdc3e2d7a21a9179357dc93f2561301c8.zip |
socketInitDone -> socketState
Diffstat (limited to 'libvncserver/httpd.c')
-rwxr-xr-x | libvncserver/httpd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libvncserver/httpd.c b/libvncserver/httpd.c index b973bb6..f341d1a 100755 --- a/libvncserver/httpd.c +++ b/libvncserver/httpd.c @@ -111,6 +111,13 @@ rfbHttpInitSockets(rfbScreenInfoPtr rfbScreen) /*AddEnabledDevice(httpListenSock);*/ } +void rfbHttpShutdownSockets(rfbScreenInfoPtr rfbScreen) { + if(rfbScreen->httpSock>-1) { + close(rfbScreen->httpSock); + FD_CLR(rfbScreen->httpSock,&rfbScreen->allFds); + rfbScreen->httpSock=-1; + } +} /* * httpCheckFds is called from ProcessInputEvents to check for input on the |