gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r19487 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r19487 - gnunet/src/transport
Date: Fri, 27 Jan 2012 16:57:30 +0100

Author: wachs
Date: 2012-01-27 16:57:30 +0100 (Fri, 27 Jan 2012)
New Revision: 19487

Modified:
   gnunet/src/transport/plugin_transport_unix.c
Log:
- debugging msgs


Modified: gnunet/src/transport/plugin_transport_unix.c
===================================================================
--- gnunet/src/transport/plugin_transport_unix.c        2012-01-27 15:51:30 UTC 
(rev 19486)
+++ gnunet/src/transport/plugin_transport_unix.c        2012-01-27 15:57:30 UTC 
(rev 19487)
@@ -42,7 +42,7 @@
 #include "gnunet_transport_plugin.h"
 #include "transport.h"
 
-#define DEBUG_UNIX GNUNET_EXTRA_LOGGING
+#define DEBUG_UNIX GNUNET_EXTRALOGGING
 #define DETAILS GNUNET_NO
 
 #define MAX_PROBES 20
@@ -439,7 +439,7 @@
 #if DEBUG_UNIX
       GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
                   "Trying to increase socket buffer size from %i to %i for 
message size %i\n",
-                  size, ((ssize / 1000) + 2) * 1000, ssize);
+                  size, ((msgbuf_size / 1000) + 2) * 1000, msgbuf_size);
 #endif
       size = ((msgbuf_size / 1000) + 2) * 1000;
       if (GNUNET_NETWORK_socket_setsockopt
@@ -626,7 +626,7 @@
   GNUNET_CONTAINER_DLL_insert(plugin->msg_head, plugin->msg_tail, wrapper);
 
 #if DEBUG_UNIX
-  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Sent %d bytes to `%s'\n", sent,
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Sent %d bytes to `%s'\n", ssize,
               (char *) session->addr);
 #endif
 
@@ -725,7 +725,7 @@
   GNUNET_CONTAINER_DLL_insert(plugin->msg_head, plugin->msg_tail, wrapper);
 
 #if DEBUG_UNIX
-  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Sent %d bytes to `%s'\n", sent,
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Sent %d bytes to `%s'\n", ssize,
               (char *) addr);
 #endif
   return ssize;




reply via email to

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