gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r33812 - gnunet/src/cadet


From: gnunet
Subject: [GNUnet-SVN] r33812 - gnunet/src/cadet
Date: Tue, 24 Jun 2014 03:54:16 +0200

Author: bartpolot
Date: 2014-06-24 03:54:15 +0200 (Tue, 24 Jun 2014)
New Revision: 33812

Modified:
   gnunet/src/cadet/gnunet-service-cadet_peer.c
Log:
- add last contact, DHT handle to peer debug info, for #3405

Modified: gnunet/src/cadet/gnunet-service-cadet_peer.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_peer.c        2014-06-24 01:54:14 UTC 
(rev 33811)
+++ gnunet/src/cadet/gnunet-service-cadet_peer.c        2014-06-24 01:54:15 UTC 
(rev 33812)
@@ -1463,6 +1463,7 @@
 
 }
 
+
 /**
  * Shut down the peer subsystem.
  */
@@ -1484,6 +1485,7 @@
   GNUNET_PEER_change_rc (myid, -1);
 }
 
+
 /**
  * Retrieve the CadetPeer stucture associated with the peer, create one
  * and insert it in the appropriate structures if the peer is not known yet.
@@ -1509,7 +1511,7 @@
                                            
GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_FAST);
         peer->id = GNUNET_PEER_intern (peer_id);
   }
-  peer->last_contact = GNUNET_TIME_absolute_get();
+  peer->last_contact = GNUNET_TIME_absolute_get ();
 
   return peer;
 }
@@ -2245,6 +2247,8 @@
   }
 
   LOG (level, "PPP DEBUG PEER %s\n", GCP_2s (p));
+  LOG (level, "PPP last contact %s\n",
+       GNUNET_STRINGS_absolute_time_to_string (p->last_contact));
   for (path = p->path_head; NULL != path; path = path->next)
   {
     char *s;
@@ -2255,6 +2259,7 @@
   }
 
   LOG (level, "PPP core transmit handle %p\n", p->core_transmit);
+  LOG (level, "PPP DHT GET handle\n", p->search_h);
   conns = GNUNET_CONTAINER_multihashmap_size (p->connections);
   LOG (level, "PPP # connections over link to peer: %u\n", conns);
   LOG (level, "PPP queue length: %u\n", p->queue_n);




reply via email to

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