gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r9142 - libmicrohttpd/src/daemon


From: gnunet
Subject: [GNUnet-SVN] r9142 - libmicrohttpd/src/daemon
Date: Fri, 9 Oct 2009 07:23:59 -0600

Author: grothoff
Date: 2009-10-09 07:23:58 -0600 (Fri, 09 Oct 2009)
New Revision: 9142

Modified:
   libmicrohttpd/src/daemon/daemon.c
Log:
fix

Modified: libmicrohttpd/src/daemon/daemon.c
===================================================================
--- libmicrohttpd/src/daemon/daemon.c   2009-10-09 13:22:23 UTC (rev 9141)
+++ libmicrohttpd/src/daemon/daemon.c   2009-10-09 13:23:58 UTC (rev 9142)
@@ -595,11 +595,10 @@
   if (s >= FD_SETSIZE)
     {
 #if HAVE_MESSAGES
-      if ((options & MHD_USE_DEBUG) != 0)
-        FPRINTF (stderr,
-                "Socket descriptor larger than FD_SETSIZE: %d > %d\n",
-                s,
-                FD_SETSIZE);
+      MHD_DLOG (daemon,
+               "Socket descriptor larger than FD_SETSIZE: %d > %d\n",
+               s,
+               FD_SETSIZE);
 #endif     
       CLOSE (s);
       return MHD_NO;
@@ -1082,7 +1081,7 @@
       if (0 != pthread_mutex_lock (&MHD_gnutls_init_mutex))
        {
 #if HAVE_MESSAGES
-         MHD_DLOG (daemon, "Failed to aquire gnutls mutex\n");
+         MHD_DLOG (retVal, "Failed to aquire gnutls mutex\n");
 #endif
          abort();
        }
@@ -1090,7 +1089,7 @@
       if (0 != pthread_mutex_unlock (&MHD_gnutls_init_mutex))
        {
 #if HAVE_MESSAGES
-         MHD_DLOG (daemon, "Failed to release gnutls mutex\n");
+         MHD_DLOG (retVal, "Failed to release gnutls mutex\n");
 #endif
          abort();
        }





reply via email to

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