summaryrefslogtreecommitdiffstats
path: root/httpd.c
diff options
context:
space:
mode:
authordscho <dscho>2001-09-26 21:20:27 +0000
committerdscho <dscho>2001-09-26 21:20:27 +0000
commit5c3eae92371309d94a5edd4e35caa71a2e481ab9 (patch)
treefa4389c90f5c4fcade0554568a458c087f5c13e8 /httpd.c
parentd6082b694129df97fcbe027d30655d2f0225fdca (diff)
downloadlibtdevnc-5c3eae92371309d94a5edd4e35caa71a2e481ab9.tar.gz
libtdevnc-5c3eae92371309d94a5edd4e35caa71a2e481ab9.zip
API corrections
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/httpd.c b/httpd.c
index b8391fc..a80c44d 100644
--- a/httpd.c
+++ b/httpd.c
@@ -66,12 +66,10 @@ static char buf[BUF_SIZE];
void
httpInitSockets(rfbScreenInfoPtr rfbScreen)
{
- static Bool done = FALSE;
-
- if (done)
+ if (rfbScreen->httpInitDone)
return;
- done = TRUE;
+ rfbScreen->httpInitDone = TRUE;
if (!rfbScreen->httpDir)
return;