commit fa3e32bf44f0370347308fae6ec73cc40f346c12
parent 00c8f34391c2631f60846fa2fc1fc463aa9de448
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 27 Sep 2007 16:19:38 +0000
fixing Mantis 1281
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/daemon/internal.c b/src/daemon/internal.c
@@ -61,7 +61,7 @@ MHD_http_unescape (char *val)
"%2x", &num)) || (1 == sscanf (&esc[1], "%2X", &num)))
{
esc[0] = (unsigned char) num;
- memmove (&esc[1], &esc[3], strlen (&esc[3]));
+ memmove (&esc[1], &esc[3], strlen (&esc[3]) + 1);
}
val = esc + 1;
}