Explorar el Código

Fixed function name introduced by 3eb2fb6dfb302a7ffbc74174d37fa047e3a94036

Thanks Christian for spotting it.
Evgeny Grin (Karlson2k) hace 3 años
padre
commit
6884fa83cf
Se han modificado 3 ficheros con 3 adiciones y 3 borrados
  1. 1 1
      src/microhttpd/daemon.c
  2. 1 1
      src/microhttpd/internal.h
  3. 1 1
      src/microhttpd/response.c

+ 1 - 1
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;

+ 1 - 1
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 */
 
 

+ 1 - 1
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. */