diff options
author | Christian Grothoff <christian@grothoff.org> | 2007-09-27 16:19:38 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2007-09-27 16:19:38 +0000 |
commit | fa3e32bf44f0370347308fae6ec73cc40f346c12 (patch) | |
tree | ec0909309b903805ba8f06ce9377536b09c3f93d | |
parent | 00c8f34391c2631f60846fa2fc1fc463aa9de448 (diff) | |
download | libmicrohttpd-fa3e32bf44f0370347308fae6ec73cc40f346c12.tar.gz libmicrohttpd-fa3e32bf44f0370347308fae6ec73cc40f346c12.zip |
fixing Mantis 1281
-rw-r--r-- | src/daemon/internal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/internal.c b/src/daemon/internal.c index 433d4886..5e2ff553 100644 --- a/src/daemon/internal.c +++ b/src/daemon/internal.c | |||
@@ -61,7 +61,7 @@ MHD_http_unescape (char *val) | |||
61 | "%2x", &num)) || (1 == sscanf (&esc[1], "%2X", &num))) | 61 | "%2x", &num)) || (1 == sscanf (&esc[1], "%2X", &num))) |
62 | { | 62 | { |
63 | esc[0] = (unsigned char) num; | 63 | esc[0] = (unsigned char) num; |
64 | memmove (&esc[1], &esc[3], strlen (&esc[3])); | 64 | memmove (&esc[1], &esc[3], strlen (&esc[3]) + 1); |
65 | } | 65 | } |
66 | val = esc + 1; | 66 | val = esc + 1; |
67 | } | 67 | } |