gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r14606 - libmicrohttpd/src/daemon
Date: Mon, 7 Mar 2011 11:41:00 +0100

Author: grothoff
Date: 2011-03-07 11:41:00 +0100 (Mon, 07 Mar 2011)
New Revision: 14606

Modified:
   libmicrohttpd/src/daemon/connection.c
Log:
undo

Modified: libmicrohttpd/src/daemon/connection.c
===================================================================
--- libmicrohttpd/src/daemon/connection.c       2011-03-07 10:26:10 UTC (rev 
14605)
+++ libmicrohttpd/src/daemon/connection.c       2011-03-07 10:41:00 UTC (rev 
14606)
@@ -1424,12 +1424,7 @@
   int bytes_read;
 
   if (connection->read_buffer_size == connection->read_buffer_offset)
-  {
-        MHD_DLOG (connection->daemon,
-                  "connection->read_buffer_size == 
connection->read_buffer_offset\n");
-                                            
     return MHD_NO;
-  }
 
   bytes_read = connection->recv_cls (connection,
                                      &connection->read_buffer
@@ -1437,15 +1432,15 @@
                                      connection->read_buffer_size -
                                      connection->read_buffer_offset);
   if (bytes_read < 0)
-    {     
+    {
       if (errno == EINTR)
         return MHD_NO;
 #if HAVE_MESSAGES
 #if HTTPS_SUPPORT
       if (0 != (connection->daemon->options & MHD_USE_SSL))
        MHD_DLOG (connection->daemon,
-                 "Failed to receive data: %s (%i)\n",
-                 gnutls_strerror (bytes_read), bytes_read);
+                 "Failed to receive data: %s\n",
+                 gnutls_strerror (bytes_read));
       else
 #endif      
        MHD_DLOG (connection->daemon,




reply via email to

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