diff options
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r-- | src/microhttpd/connection.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index 9c2ea2da..13b5015b 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c | |||
@@ -3538,12 +3538,12 @@ MHD_connection_handle_idle (struct MHD_Connection *connection) | |||
3538 | continue; | 3538 | continue; |
3539 | } | 3539 | } |
3540 | /* Response is not required anymore for this connection. */ | 3540 | /* Response is not required anymore for this connection. */ |
3541 | if (NULL != connection->response) | 3541 | { |
3542 | { | 3542 | struct MHD_Response * const resp = connection->response; |
3543 | struct MHD_Response * const resp = connection->response; | 3543 | |
3544 | connection->response = NULL; | 3544 | connection->response = NULL; |
3545 | MHD_destroy_response (resp); | 3545 | MHD_destroy_response (resp); |
3546 | } | 3546 | } |
3547 | continue; | 3547 | continue; |
3548 | } | 3548 | } |
3549 | #endif /* UPGRADE_SUPPORT */ | 3549 | #endif /* UPGRADE_SUPPORT */ |