ndbg
authorChristian Grothoff <christian@grothoff.org>
Fri, 21 May 2010 09:12:05 +0000 (09:12 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 21 May 2010 09:12:05 +0000 (09:12 +0000)
src/transport/plugin_transport_tcp.c

index 670c983ef5dd6e3ec425eabc076ec577ba44012a..c10419744907b778c39d4c80299a69a95052585c 100644 (file)
@@ -388,10 +388,12 @@ create_session (struct Plugin *plugin,
   struct WelcomeMessage welcome;
 
   GNUNET_assert (client != NULL);
+#if DEBUG_TCP
   GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG,
                   "tcp",
                   "Creating new session for peer `%4s'\n",
                   GNUNET_i2s (target));
+#endif
   ret = GNUNET_malloc (sizeof (struct Session));
   ret->last_activity = GNUNET_TIME_absolute_get ();
   ret->plugin = plugin;