summaryrefslogtreecommitdiffstats
path: root/httpd.c
diff options
context:
space:
mode:
authordscho <dscho>2002-08-31 14:13:50 +0000
committerdscho <dscho>2002-08-31 14:13:50 +0000
commitb34beb1b22a53046fd09f872e6541aea8e166f7f (patch)
treee2a72721ab48b735f8ae1d3bb8684dd991af3d4b /httpd.c
parent0024d7472768635915ee6cc511fc258c121b9b9c (diff)
downloadlibvncserver-b34beb1b22a53046fd09f872e6541aea8e166f7f.zip
libvncserver-b34beb1b22a53046fd09f872e6541aea8e166f7f.tar.gz
socket via proxy gets options set, compiler warning fixes
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/httpd.c b/httpd.c
index 0821c5b..3baedce 100644
--- a/httpd.c
+++ b/httpd.c
@@ -270,7 +270,7 @@ httpProcessInput(rfbScreenInfoPtr rfbScreen)
// proxy connection
rfbLog("httpd: client asked for CONNECT\n");
WriteExact(&cl,PROXY_OK_STR,strlen(PROXY_OK_STR));
- rfbNewClient(rfbScreen,rfbScreen->httpSock);
+ rfbNewClientConnection(rfbScreen,rfbScreen->httpSock);
// don't fclose(rfbScreen->httpFP), because this would kill the connection
rfbScreen->httpFP = NULL;
rfbScreen->httpSock = -1;
@@ -280,7 +280,7 @@ httpProcessInput(rfbScreenInfoPtr rfbScreen)
// proxy connection
rfbLog("httpd: client asked for /proxied.connection\n");
WriteExact(&cl,PROXY_OK_STR,strlen(PROXY_OK_STR));
- rfbNewClient(rfbScreen,rfbScreen->httpSock);
+ rfbNewClientConnection(rfbScreen,rfbScreen->httpSock);
// don't fclose(rfbScreen->httpFP), because this would kill the connection
rfbScreen->httpFP = NULL;
rfbScreen->httpSock = -1;
OpenPOWER on IntegriCloud