alloc'd one more byte
parent
ae9fa1a9e3
commit
9c2520dcf3
|
@ -10,7 +10,7 @@ QueryString::QueryString(const char* query) : n(0)
|
|||
if (query[0] == '\0') return;
|
||||
|
||||
// create buffer
|
||||
buffer_length = urlenc::decoded_length(query) + 1;
|
||||
buffer_length = urlenc::decoded_length(query) + 2;
|
||||
buffer = (char*) malloc(buffer_length);
|
||||
|
||||
// create fields
|
||||
|
|
Loading…
Reference in New Issue