[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r8466 - libmicrohttpd/src/daemon
From: |
gnunet |
Subject: |
[GNUnet-SVN] r8466 - libmicrohttpd/src/daemon |
Date: |
Mon, 18 May 2009 14:33:36 -0600 |
Author: durner
Date: 2009-05-18 14:33:36 -0600 (Mon, 18 May 2009)
New Revision: 8466
Modified:
libmicrohttpd/src/daemon/daemon.c
Log:
Workaround for PlibC's problem with FPRINTF(f, m), removal of trailing
whitespaces. Thanks to Andre Colomb.
Modified: libmicrohttpd/src/daemon/daemon.c
===================================================================
--- libmicrohttpd/src/daemon/daemon.c 2009-05-18 18:47:45 UTC (rev 8465)
+++ libmicrohttpd/src/daemon/daemon.c 2009-05-18 20:33:36 UTC (rev 8466)
@@ -473,7 +473,7 @@
(con->state == MHD_CONNECTION_CHUNKED_BODY_UNREADY))
{
/* do not block (we're waiting for our callback to succeed) */
- timeout = 1;
+ timeout = 1;
tv.tv_sec = 0;
}
num_ready = SELECT (max + 1,
@@ -1144,7 +1144,7 @@
&& (retVal->worker_pool_size > 0))
{
#if HAVE_MESSAGES
- FPRINTF (stderr,
+ fprintf (stderr,
"MHD thread pooling only works with
MHD_USE_SELECT_INTERNALLY\n");
#endif
free (retVal);
@@ -1157,7 +1157,7 @@
#else
{
#if HAVE_MESSAGES
- FPRINTF (stderr, "AF_INET6 not supported\n");
+ fprintf (stderr, "AF_INET6 not supported\n");
#endif
return NULL;
}
@@ -1368,7 +1368,7 @@
free (retVal);
return NULL;
}
-
+
/* Shutdown worker threads we've already created. Pretend
as though we had fully initialized our daemon, but
with a smaller number of threads than had been
@@ -1425,7 +1425,7 @@
#if OSX
/* without this, either (thread pool = 0) threads would get stuck or
- * CLOSE would get stuck if attempted before (thread pool > 0)
+ * CLOSE would get stuck if attempted before (thread pool > 0)
* threads have ended */
SHUTDOWN (fd, SHUT_RDWR);
#else
@@ -1501,7 +1501,7 @@
/**
* Obtain the version of this library
- *
+ *
* @return static version string, e.g. "0.4.1"
*/
const char *
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r8466 - libmicrohttpd/src/daemon,
gnunet <=