commit 6884fa83cfcfe12f04b1121268894c2a57d9c954
parent 5524197da9ad520e90b9b588fb30d246daf3a604
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Mon, 13 Jun 2022 12:34:16 +0300
Fixed function name introduced by 3eb2fb6dfb302a7ffbc74174d37fa047e3a94036
Thanks Christian for spotting it.
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
@@ -3284,7 +3284,7 @@ MHD_resume_connection (struct MHD_Connection *connection)
* @param connection the upgraded connection to mark as closed by application
*/
void
-upgraded_connection_mark_app_closed_ (struct MHD_Connection *connection)
+MHD_upgraded_connection_mark_app_closed_ (struct MHD_Connection *connection)
{
/* Cache 'daemon' here to avoid data races */
struct MHD_Daemon *const daemon = connection->daemon;
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h
@@ -2491,7 +2491,7 @@ MHD_get_master (struct MHD_Daemon *const daemon)
* @param connection the upgraded connection to mark as closed by application
*/
void
-upgraded_connection_mark_app_closed_ (struct MHD_Connection *connection);
+MHD_upgraded_connection_mark_app_closed_ (struct MHD_Connection *connection);
#endif /* UPGRADE_SUPPORT */
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
@@ -1778,7 +1778,7 @@ MHD_upgrade_action (struct MHD_UpgradeResponseHandle *urh,
* As soon as connection will be marked with BOTH
* 'urh->was_closed' AND 'urh->clean_ready', it will
* be moved to cleanup list by MHD_resume_connection(). */
- upgraded_connection_mark_app_closed_ (connection);
+ MHD_upgraded_connection_mark_app_closed_ (connection);
return MHD_YES;
case MHD_UPGRADE_ACTION_CORK_ON:
/* Unportable API. TODO: replace with portable action. */