Don't null-check

This commit is contained in:
Matt Burke 2015-09-24 09:13:05 -04:00
parent 098f1e6e25
commit 63cc57232c

View File

@ -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)