gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: RPS service: Check if map w


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: RPS service: Check if map was already NULLed
Date: Thu, 21 Feb 2019 14:33:29 +0100

This is an automated email from the git hooks/post-receive script.

julius-buenger pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 0dd211d9b RPS service: Check if map was already NULLed
0dd211d9b is described below

commit 0dd211d9bac092d71ac7bab3cfc8561f0a7e1cf6
Author: Julius Bünger <address@hidden>
AuthorDate: Thu Feb 21 14:32:55 2019 +0100

    RPS service: Check if map was already NULLed
---
 src/rps/gnunet-service-rps.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c
index 194a5669c..a448d17e4 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -1379,6 +1379,7 @@ mq_notify_sent_cb (void *cls)
     if (0 == strncmp ("PUSH", pending_msg->type, 4))
       GNUNET_STATISTICS_update(stats, "# pushes sent", 1, GNUNET_NO);
     if (0 == strncmp ("PULL REQUEST", pending_msg->type, 12) &&
+                      NULL != map_single_hop &&
         GNUNET_NO == GNUNET_CONTAINER_multipeermap_contains (map_single_hop,
           &pending_msg->peer_ctx->peer_id))
       GNUNET_STATISTICS_update(stats,

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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