(no commit message)
authorMatthias Wachs <wachs@net.in.tum.de>
Tue, 15 Jun 2010 11:46:46 +0000 (11:46 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Tue, 15 Jun 2010 11:46:46 +0000 (11:46 +0000)
src/transport/plugin_transport_http.c

index b04497765a7a8ecd9759325232b5ac6884fe8424..7249f279580ab40ac9b51af992bc6110877fd5f7 100644 (file)
@@ -568,6 +568,9 @@ accessHandlerCallback (void *cls,
       }
       GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,"New Session `%s' inserted, count %u \n", address, plugin->session_count);
     }
+    /* Updating session */
+    cs->addr_inbound=addrin;
+
     /* Set closure */
     if (*httpSessionCache == NULL)
     {
@@ -1563,7 +1566,7 @@ libgnunet_plugin_transport_http_done (void *cls)
 
   while ( NULL != cs)
     {
-      GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,"Freeing session to `%s'\n",cs->ip);
+      GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,"Freeing session for peer `%s'\n",GNUNET_i2s(cs->sender));
 
       cs_next = cs->next;
       /* freeing messages */