From 7e6d5c65eb90a567b665965643f3c874cb4a1658 Mon Sep 17 00:00:00 2001 From: dscho Date: Sun, 28 Jul 2002 16:45:16 +0000 Subject: NewFB encoding added --- httpd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'httpd.c') diff --git a/httpd.c b/httpd.c index 8f6aa01..813b239 100644 --- a/httpd.c +++ b/httpd.c @@ -218,6 +218,8 @@ httpProcessInput(rfbScreenInfoPtr rfbScreen) fname = &fullFname[strlen(fullFname)]; maxFnameLen = 255 - strlen(fullFname); + buf_filled=0; + /* Read data from the HTTP client until we get a complete request. */ while (1) { ssize_t got = read (rfbScreen->httpSock, buf + buf_filled, -- cgit v1.2.1