aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-09-03 08:16:26 +0000
committerChristian Grothoff <christian@grothoff.org>2016-09-03 08:16:26 +0000
commit5395e6196d8f469f95d904eff8afd731a9cceb29 (patch)
treee235654d3f7261907c69ad97c998b40bb7344f3f
parentb7a393fac86082bcf948c0cb24c82de9152c7c61 (diff)
downloadlibmicrohttpd-5395e6196d8f469f95d904eff8afd731a9cceb29.tar.gz
libmicrohttpd-5395e6196d8f469f95d904eff8afd731a9cceb29.zip
-rename function to make it clear it is not exported
-rw-r--r--src/microhttpd/daemon.c12
1 files 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,
833 * @return always 0 833 * @return always 0
834 */ 834 */
835static MHD_THRD_RTRN_TYPE_ MHD_THRD_CALL_SPEC_ 835static MHD_THRD_RTRN_TYPE_ MHD_THRD_CALL_SPEC_
836MHD_handle_connection (void *data) 836thread_main_handle_connection (void *data)
837{ 837{
838 struct MHD_Connection *con = data; 838 struct MHD_Connection *con = data;
839 int num_ready; 839 int num_ready;
@@ -1516,11 +1516,11 @@ internal_add_connection (struct MHD_Daemon *daemon,
1516 /* attempt to create handler thread */ 1516 /* attempt to create handler thread */
1517 if (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION)) 1517 if (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION))
1518 { 1518 {
1519 if (!MHD_create_named_thread_(&connection->pid, 1519 if (! MHD_create_named_thread_(&connection->pid,
1520 "MHD-connection", 1520 "MHD-connection",
1521 daemon->thread_stack_size, 1521 daemon->thread_stack_size,
1522 &MHD_handle_connection, 1522 &thread_main_handle_connection,
1523 connection)) 1523 connection))
1524 { 1524 {
1525 eno = errno; 1525 eno = errno;
1526#ifdef HAVE_MESSAGES 1526#ifdef HAVE_MESSAGES