diff options
author | dscho <dscho> | 2002-08-31 14:13:50 +0000 |
---|---|---|
committer | dscho <dscho> | 2002-08-31 14:13:50 +0000 |
commit | b34beb1b22a53046fd09f872e6541aea8e166f7f (patch) | |
tree | e2a72721ab48b735f8ae1d3bb8684dd991af3d4b /httpd.c | |
parent | 0024d7472768635915ee6cc511fc258c121b9b9c (diff) | |
download | libvncserver-b34beb1b22a53046fd09f872e6541aea8e166f7f.zip libvncserver-b34beb1b22a53046fd09f872e6541aea8e166f7f.tar.gz |
socket via proxy gets options set, compiler warning fixes
Diffstat (limited to 'httpd.c')
-rw-r--r-- | httpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |