more logging
authorChristian Grothoff <christian@grothoff.org>
Wed, 19 Oct 2011 13:11:53 +0000 (13:11 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 19 Oct 2011 13:11:53 +0000 (13:11 +0000)
src/transport/gnunet-service-transport.c

index 14c33c37b4ff46497348c58047987e4c75de13ea..5260fff6ff637c941e5a4bb0e2d7bb675a5ff5f2 100644 (file)
@@ -308,6 +308,12 @@ plugin_env_receive_callback (void *cls, const struct GNUNET_PeerIdentity *peer,
                                session,
                                ats, ats_count);
   }
+#endif
+#if DEBUG_TRANSPORT
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+             "Allowing receive from peer %s to continue in %llu ms\n",
+             GNUNET_i2s (peer),
+             (unsigned long long) ret.rel_value);
 #endif
   return ret;
 }