gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r37857 - libmicrohttpd/src/microhttpd


From: gnunet
Subject: [GNUnet-SVN] r37857 - libmicrohttpd/src/microhttpd
Date: Sat, 3 Sep 2016 10:16:26 +0200

Author: grothoff
Date: 2016-09-03 10:16:26 +0200 (Sat, 03 Sep 2016)
New Revision: 37857

Modified:
   libmicrohttpd/src/microhttpd/daemon.c
Log:
-rename function to make it clear it is not exported

Modified: libmicrohttpd/src/microhttpd/daemon.c
===================================================================
--- libmicrohttpd/src/microhttpd/daemon.c       2016-09-01 18:17:43 UTC (rev 
37856)
+++ libmicrohttpd/src/microhttpd/daemon.c       2016-09-03 08:16:26 UTC (rev 
37857)
@@ -833,7 +833,7 @@
  * @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 @@
   /* 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]