Skip to content

Commit

Permalink
Merge pull request #26 from LeSpocky/rawmemchr
Browse files Browse the repository at this point in the history
process_data: use stdlib function instead of glibc function
  • Loading branch information
LeSpocky committed May 10, 2016
2 parents de5f422 + 58e63a8 commit e92c404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cgi.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ formvars *process_data(const char *query, formvars **start, formvars **last,
size_t name_len;
size_t value_len;
char *str_unesc;
const char *query_end = rawmemchr(query, '\0');
const char *query_end = strchr(query, '\0');

if (query == NULL)
return *start;
Expand Down

0 comments on commit e92c404

Please sign in to comment.