diff options
Diffstat (limited to 'src/microhttpd/response.c')
-rw-r--r-- | src/microhttpd/response.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c index e8707480..a86e58fc 100644 --- a/src/microhttpd/response.c +++ b/src/microhttpd/response.c | |||
@@ -75,8 +75,8 @@ add_response_entry (struct MHD_Response *response, | |||
75 | if ( (NULL == response) || | 75 | if ( (NULL == response) || |
76 | (NULL == header) || | 76 | (NULL == header) || |
77 | (NULL == content) || | 77 | (NULL == content) || |
78 | (0 == strlen (header)) || | 78 | (0 == header[0]) || |
79 | (0 == strlen (content)) || | 79 | (0 == content[0]) || |
80 | (NULL != strchr (header, '\t')) || | 80 | (NULL != strchr (header, '\t')) || |
81 | (NULL != strchr (header, '\r')) || | 81 | (NULL != strchr (header, '\r')) || |
82 | (NULL != strchr (header, '\n')) || | 82 | (NULL != strchr (header, '\n')) || |