commit 2849ef7fb03377e9e19b9969339b8797ac81f9da parent b4216c60fdb5b48f6cfec416301fc63a1167e6cd Author: Evgeny Grin (Karlson2k) <k2k@narod.ru> Date: Fri, 5 May 2017 12:44:21 +0300 Fixed and formatted b4216c60fdb5b48f6cfec416301fc63a1167e6cd Diffstat:
| M | src/microhttpd/connection.c | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c @@ -882,7 +882,8 @@ keepalive_possible (struct MHD_Connection *connection) #ifdef UPGRADE_SUPPORT if ( (MHD_str_equal_caseless_ (end, "upgrade")) && - (NULL == connection->response || NULL == connection->resp˙onse->upgrade_handler) ) + ( (NULL == connection->response) || + (NULL == connection->response->upgrade_handler) ) ) return MHD_NO; #endif /* UPGRADE_SUPPORT */