summaryrefslogtreecommitdiffstats
path: root/httpd.c
diff options
context:
space:
mode:
authordscho <dscho>2002-07-28 16:45:16 +0000
committerdscho <dscho>2002-07-28 16:45:16 +0000
commit7e6d5c65eb90a567b665965643f3c874cb4a1658 (patch)
tree8db0433bd49e6053285c4b09cb197ebc23f4bf43 /httpd.c
parent131ede28a74bb18037f5bfbbe1f9ac8f26546544 (diff)
downloadlibtdevnc-7e6d5c65eb90a567b665965643f3c874cb4a1658.tar.gz
libtdevnc-7e6d5c65eb90a567b665965643f3c874cb4a1658.zip
NewFB encoding added
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c2
1 files changed, 2 insertions, 0 deletions
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,