projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4d534a
)
RPS service: Use peermap only when non-NULL
author
Julius Bünger
<buenger@mytum.de>
Thu, 21 Feb 2019 20:32:56 +0000
(21:32 +0100)
committer
Julius Bünger
<buenger@mytum.de>
Thu, 21 Feb 2019 20:32:56 +0000
(21:32 +0100)
src/rps/gnunet-service-rps.c
patch
|
blob
|
history
diff --git
a/src/rps/gnunet-service-rps.c
b/src/rps/gnunet-service-rps.c
index a06ed390741f59ef2e30816c4c96386ca52b8e16..849bc4c6357b8ba84225b4391b440c6529b3b0e4 100644
(file)
--- a/
src/rps/gnunet-service-rps.c
+++ b/
src/rps/gnunet-service-rps.c
@@
-3645,7
+3645,8
@@
handle_peer_pull_reply (void *cls,
"# pull reply messages received",
1,
GNUNET_NO);
- if (GNUNET_NO == GNUNET_CONTAINER_multipeermap_contains (map_single_hop,
+ if (NULL != map_single_hop &&
+ GNUNET_NO == GNUNET_CONTAINER_multipeermap_contains (map_single_hop,
&channel_ctx->peer_ctx->peer_id))
{
GNUNET_STATISTICS_update (stats,