Author: grothoff
Date: 2007-09-27 10:19:38 -0600 (Thu, 27 Sep 2007)
New Revision: 5664
Modified:
libmicrohttpd/src/daemon/internal.c
Log:
fixing Mantis 1281
Modified: libmicrohttpd/src/daemon/internal.c
===================================================================
--- libmicrohttpd/src/daemon/internal.c 2007-09-26 03:22:59 UTC (rev 5663)
+++ libmicrohttpd/src/daemon/internal.c 2007-09-27 16:19:38 UTC (rev 5664)
@@ -61,7 +61,7 @@
"%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;
}
_______________________________________________
GNUnet-SVN mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnunet-svn