aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/internal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/internal.c')
-rw-r--r--src/daemon/internal.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/daemon/internal.c b/src/daemon/internal.c
index 9d0f3d7d..83b6590d 100644
--- a/src/daemon/internal.c
+++ b/src/daemon/internal.c
@@ -128,9 +128,7 @@ MHD_http_unescape (char *val)
128 while (NULL != (esc = strstr (val, "%"))) 128 while (NULL != (esc = strstr (val, "%")))
129 { 129 {
130 if ((1 == SSCANF (&esc[1], 130 if ((1 == SSCANF (&esc[1],
131 "%2x", &num)) || 131 "%2x", &num)) || (1 == SSCANF (&esc[1], "%2X", &num)))
132 (1 == SSCANF (&esc[1],
133 "%2X", &num)))
134 { 132 {
135 esc[0] = (unsigned char) num; 133 esc[0] = (unsigned char) num;
136 memmove (&esc[1], &esc[3], strlen (&esc[3]) + 1); 134 memmove (&esc[1], &esc[3], strlen (&esc[3]) + 1);