From 63cc57232cebab60ad193731582e24e83ea5b3b9 Mon Sep 17 00:00:00 2001 From: Matt Burke Date: Thu, 24 Sep 2015 09:13:05 -0400 Subject: [PATCH] Don't null-check --- src/transports/smart.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/transports/smart.c b/src/transports/smart.c index 1ff39b48e..fc7630c49 100644 --- a/src/transports/smart.c +++ b/src/transports/smart.c @@ -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)