[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] GNU libmicrohttpd branch master updated. e5
From: |
gitolite |
Subject: |
[GNUnet-SVN] [libmicrohttpd] GNU libmicrohttpd branch master updated. e5c74b3a125cee3f4c0dda04d04c9251c8ab116c |
Date: |
Fri, 4 Nov 2016 11:30:22 +0100 (CET) |
The branch, master has been updated
via e5c74b3a125cee3f4c0dda04d04c9251c8ab116c (commit)
from 11f00055cf8dd339dfdb7f2e2b1fadbff811fae2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e5c74b3a125cee3f4c0dda04d04c9251c8ab116c
Author: Christian Grothoff <address@hidden>
Date: Fri Nov 4 11:30:20 2016 +0100
style fix: this 'const' is at best confusing, as we are about to free, plus
initialize 'daemon' immediately for symmetry
-----------------------------------------------------------------------
Summary of changes:
src/microhttpd/connection.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index a85e590..60bf9f6 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -541,10 +541,9 @@ void
MHD_connection_close_ (struct MHD_Connection *connection,
enum MHD_RequestTerminationCode termination_code)
{
- struct MHD_Daemon *daemon;
- struct MHD_Response * const resp = connection->response;
+ struct MHD_Daemon *daemon = connection->daemon;
+ struct MHD_Response *resp = connection->response;
- daemon = connection->daemon;
MHD_connection_mark_closed_ (connection);
if (NULL != resp)
{
hooks/post-receive
--
GNU libmicrohttpd
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [libmicrohttpd] GNU libmicrohttpd branch master updated. e5c74b3a125cee3f4c0dda04d04c9251c8ab116c,
gitolite <=