fixing Mantis 1281

This commit is contained in:
Christian Grothoff
2007-09-27 16:19:38 +00:00
parent 00c8f34391
commit fa3e32bf44
+1 -1
View File
@@ -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;
}