libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 991598830f7944e689604c3b85d7675fe6150ca6
parent 8c6113b6e028dba9cb58020b6f718e471353cf1d
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 28 Aug 2013 09:32:08 +0000

-check for NULL

Diffstat:
Msrc/microhttpd/connection.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c @@ -2688,6 +2688,7 @@ MHD_queue_response (struct MHD_Connection *connection, connection->response_write_position = response->total_size; } if ( (MHD_CONNECTION_HEADERS_PROCESSED == connection->state) && + (NULL != connection->method) && ( (0 == strcasecmp (connection->method, MHD_HTTP_METHOD_POST)) || (0 == strcasecmp (connection->method,