summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scan_urlencoded_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scan_urlencoded_query.c b/scan_urlencoded_query.c
index fdcc3e6..8cea507 100644
--- a/scan_urlencoded_query.c
+++ b/scan_urlencoded_query.c
@@ -38,7 +38,7 @@ retry_parsing:
38 break; 38 break;
39 case '?': 39 case '?':
40 if( flags == SCAN_PATH ) goto found_terminator; 40 if( flags == SCAN_PATH ) goto found_terminator;
41 *d++ = c; 41 if( d ) *d++ = c;
42 goto retry_parsing; 42 goto retry_parsing;
43 break; 43 break;
44 case '=': 44 case '=':