Commit 63cc5723 by Matt Burke

Don't null-check

parent 098f1e6e
......@@ -81,9 +81,6 @@ bool is_valid_custom_header(const char *custom_header)
int name_len;
unsigned long i;
if (custom_header == NULL)
return true;
// Disallow \r and \n
c = strchr(custom_header, '\r');
if (c != NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment