gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r27920 - gnunet/src/transport
Date: Thu, 11 Jul 2013 15:48:39 +0200

Author: wachs
Date: 2013-07-11 15:48:38 +0200 (Thu, 11 Jul 2013)
New Revision: 27920

Modified:
   gnunet/src/transport/plugin_transport_http_client.c
Log:
adding debug message


Modified: gnunet/src/transport/plugin_transport_http_client.c
===================================================================
--- gnunet/src/transport/plugin_transport_http_client.c 2013-07-11 13:48:18 UTC 
(rev 27919)
+++ gnunet/src/transport/plugin_transport_http_client.c 2013-07-11 13:48:38 UTC 
(rev 27920)
@@ -922,7 +922,6 @@
   atsi.type = htonl (GNUNET_ATS_NETWORK_TYPE);
   atsi.value = s->ats_address_network_type;
   GNUNET_break (s->ats_address_network_type != ntohl 
(GNUNET_ATS_NET_UNSPECIFIED));
-
   delay = s->plugin->env->receive (plugin->env->cls, &s->target, message,
                                    s, (const char *) s->addr, s->addrlen);
 
@@ -1541,6 +1540,12 @@
   s->put_tmp_disconnected = GNUNET_NO;
   client_start_session_timeout (s);
 
+  GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, plugin->name,
+                   "Created new session %p for `%s' address `%s''\n",
+                   s,
+                   http_common_plugin_address_to_string (NULL, 
plugin->protocol, s->addr, s->addrlen),
+                   GNUNET_i2s (&s->target));
+
   /* add new session */
   GNUNET_CONTAINER_DLL_insert (plugin->head, plugin->tail, s);
 




reply via email to

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