From 5c3eae92371309d94a5edd4e35caa71a2e481ab9 Mon Sep 17 00:00:00 2001 From: dscho Date: Wed, 26 Sep 2001 21:20:27 +0000 Subject: API corrections --- httpd.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'httpd.c') 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; -- cgit v1.2.1