aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-11-04 11:26:30 +0100
committerChristian Grothoff <christian@grothoff.org>2016-11-04 11:26:30 +0100
commitec46999ff566a16c79af63ecd5a80dc759507258 (patch)
tree03046b40c6006599ab1c5cffa6de7f32d0304e50
parentf2858123902bea7492114d69fdaf1731741ad767 (diff)
downloadlibmicrohttpd-ec46999ff566a16c79af63ecd5a80dc759507258.tar.gz
libmicrohttpd-ec46999ff566a16c79af63ecd5a80dc759507258.zip
style fix: in MHD-style, we always put the const before 'struct'
-rw-r--r--src/microhttpd/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index c6089ad7..3b17e0c3 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -502,7 +502,7 @@ need_100_continue (struct MHD_Connection *connection)
502void 502void
503MHD_connection_mark_closed_ (struct MHD_Connection *connection) 503MHD_connection_mark_closed_ (struct MHD_Connection *connection)
504{ 504{
505 struct MHD_Daemon * const daemon = connection->daemon; 505 const struct MHD_Daemon *daemon = connection->daemon;
506 506
507 connection->state = MHD_CONNECTION_CLOSED; 507 connection->state = MHD_CONNECTION_CLOSED;
508 connection->event_loop_info = MHD_EVENT_LOOP_INFO_CLEANUP; 508 connection->event_loop_info = MHD_EVENT_LOOP_INFO_CLEANUP;