gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r35482 - gnunet/src/rps


From: gnunet
Subject: [GNUnet-SVN] r35482 - gnunet/src/rps
Date: Sat, 28 Mar 2015 17:09:34 +0100

Author: ch3
Date: 2015-03-28 17:09:34 +0100 (Sat, 28 Mar 2015)
New Revision: 35482

Modified:
   gnunet/src/rps/gnunet-service-rps.c
Log:
-fixes

Modified: gnunet/src/rps/gnunet-service-rps.c
===================================================================
--- gnunet/src/rps/gnunet-service-rps.c 2015-03-28 15:28:54 UTC (rev 35481)
+++ gnunet/src/rps/gnunet-service-rps.c 2015-03-28 16:09:34 UTC (rev 35482)
@@ -769,8 +769,6 @@
 
   peer_ctx = get_peer_ctx (peer_map, peer);
 
-  GNUNET_assert (NULL == peer_ctx->is_live_task);
-
   if (NULL == peer_ctx->send_channel)
   {
     LOG (GNUNET_ERROR_TYPE_DEBUG,
@@ -2110,7 +2108,13 @@
               unsigned int best_path) // "How long is the best path?
                                       // (0 = unknown, 1 = ourselves, 2 = 
neighbor)"
 {
-  new_peer_id (peer);
+  if (NULL != peer)
+  {
+    LOG (GNUNET_ERROR_TYPE_DEBUG,
+         "Got peer_id %s from cadet\n",
+         GNUNET_i2s (peer));
+    new_peer_id (peer);
+  }
 }
 
 




reply via email to

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