aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/response.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-02-09 05:44:20 +0100
committerChristian Grothoff <christian@grothoff.org>2018-02-09 05:44:20 +0100
commite77fce2749a06b448e496140e8ad7e51891972de (patch)
tree825e1f67dd432cc99016cdff9a4444645711a79f /src/microhttpd/response.c
parentf6e1ee426f9caebe49476ec88720d87032a433a6 (diff)
downloadlibmicrohttpd-e77fce2749a06b448e496140e8ad7e51891972de.tar.gz
libmicrohttpd-e77fce2749a06b448e496140e8ad7e51891972de.zip
more work on mhd2 api implementation
Diffstat (limited to 'src/microhttpd/response.c')
-rw-r--r--src/microhttpd/response.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
index d677cf62..9de4843d 100644
--- a/src/microhttpd/response.c
+++ b/src/microhttpd/response.c
@@ -246,12 +246,13 @@ MHD_get_response_header (struct MHD_Response *response,
246 NULL != pos; 246 NULL != pos;
247 pos = pos->next) 247 pos = pos->next)
248 { 248 {
249 if ( MHD_str_equal_caseless_ (pos->header, key) ) 249 if (MHD_str_equal_caseless_ (pos->header, key))
250 return pos->value; 250 return pos->value;
251 } 251 }
252 return NULL; 252 return NULL;
253} 253}
254 254
255
255/** 256/**
256 * Check whether response header contains particular token. 257 * Check whether response header contains particular token.
257 * 258 *