Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Don't null-check
  • Loading branch information
spraints authored and srajko committed Jan 26, 2016
commit e406153360d65e8bd9979d6309dbb3ead1bde7c7
3 changes: 0 additions & 3 deletions src/transports/smart.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down