diff options
Diffstat (limited to 'httpd.c')
-rw-r--r-- | httpd.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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; |