gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: multicast: fix replay_req_r


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: multicast: fix replay_req_remove_cadet()
Date: Wed, 22 Mar 2017 10:08:43 +0100

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

tg pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new caeeec6ca multicast: fix replay_req_remove_cadet()
     new aa98f144e Merge branch 'master' of gnunet.org:gnunet
caeeec6ca is described below

commit caeeec6cacaa5354883494cb64b0a38e5c75da5d
Author: tg(x) <address@hidden>
AuthorDate: Tue Feb 28 15:34:40 2017 +0100

    multicast: fix replay_req_remove_cadet()
---
 src/multicast/gnunet-service-multicast.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/multicast/gnunet-service-multicast.c 
b/src/multicast/gnunet-service-multicast.c
index b068f1308..3f356af83 100644
--- a/src/multicast/gnunet-service-multicast.c
+++ b/src/multicast/gnunet-service-multicast.c
@@ -464,6 +464,9 @@ replay_key_hash (uint64_t fragment_id, uint64_t message_id,
 static int
 replay_req_remove_cadet (struct Channel *chn)
 {
+  if (NULL == chn || NULL == chn->group)
+    return GNUNET_SYSERR;
+
   struct GNUNET_CONTAINER_MultiHashMap *
     grp_replay_req = GNUNET_CONTAINER_multihashmap_get (replay_req_cadet,
                                                         
&chn->group->pub_key_hash);

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



reply via email to

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