dbg msgs
authorChristian Grothoff <christian@grothoff.org>
Wed, 10 Jun 2009 00:07:42 +0000 (00:07 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 10 Jun 2009 00:07:42 +0000 (00:07 +0000)
src/transport/gnunet-service-transport.c
src/transport/plugin_transport_tcp.c
src/transport/transport_api.c

index 18b50b38a85b38128f4be854cb042665b782420b..da6ee9df8c38a3cc601d602f55ce62add07a9116 100644 (file)
@@ -2811,7 +2811,10 @@ run (void *cls,
     }
   if (no_transports)
     refresh_hello ();
-  GNUNET_log (GNUNET_ERROR_TYPE_INFO, _("Transport service ready.\n"));
+#if DEBUG_TRANSPORT
+  GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+             _("Transport service ready.\n"));
+#endif
   /* process client requests */
   GNUNET_SERVER_add_handlers (server, handlers);
 }
index 4ab555ad6e515f23c173e8b4f01fa38d67fa76df..1b4a7c103885f3e50e4e1887d9e587c4c05fc5fe 100644 (file)
@@ -38,7 +38,7 @@
 #include "plugin_transport.h"
 #include "transport.h"
 
-#define DEBUG_TCP GNUNET_YES
+#define DEBUG_TCP GNUNET_NO
 
 /**
  * After how long do we expire an address that we
@@ -587,7 +587,7 @@ do_transmit (void *cls, size_t size, void *buf)
         = GNUNET_TIME_absolute_get ();
     }
   process_pending_messages (session);
-#if DEBUG_TCP || 1
+#if DEBUG_TCP
   GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG,
                    "tcp", "Transmitting %u bytes\n", ret);
 #endif
index 977175ceefc2ba3acb20f0ccc640ff7563d5f225..c2e2061f89139673d78325c26098ee523bd05e9a 100644 (file)
@@ -1403,7 +1403,6 @@ GNUNET_TRANSPORT_disconnect (struct GNUNET_TRANSPORT_Handle *handle)
       th->notify (th->notify_cls, 0, NULL);
       GNUNET_free (th);
     }
-
   while (NULL != (th = handle->connect_wait_head))
     {
       handle->connect_wait_head = th->next;