From 5395e6196d8f469f95d904eff8afd731a9cceb29 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 3 Sep 2016 08:16:26 +0000 Subject: -rename function to make it clear it is not exported --- src/microhttpd/daemon.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index 256fc839..791e17d4 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c @@ -833,7 +833,7 @@ call_handlers (struct MHD_Connection *con, * @return always 0 */ static MHD_THRD_RTRN_TYPE_ MHD_THRD_CALL_SPEC_ -MHD_handle_connection (void *data) +thread_main_handle_connection (void *data) { struct MHD_Connection *con = data; int num_ready; @@ -1516,11 +1516,11 @@ internal_add_connection (struct MHD_Daemon *daemon, /* attempt to create handler thread */ if (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION)) { - if (!MHD_create_named_thread_(&connection->pid, - "MHD-connection", - daemon->thread_stack_size, - &MHD_handle_connection, - connection)) + if (! MHD_create_named_thread_(&connection->pid, + "MHD-connection", + daemon->thread_stack_size, + &thread_main_handle_connection, + connection)) { eno = errno; #ifdef HAVE_MESSAGES -- cgit v1.2.3