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:
6aff933
)
rps: add assertion
author
Julius Bünger
<buenger@mytum.de>
Thu, 28 Dec 2017 23:48:08 +0000
(
00:48
+0100)
committer
Julius Bünger
<buenger@mytum.de>
Thu, 28 Dec 2017 23:48:08 +0000
(
00:48
+0100)
src/rps/gnunet-service-rps_peers.c
patch
|
blob
|
history
diff --git
a/src/rps/gnunet-service-rps_peers.c
b/src/rps/gnunet-service-rps_peers.c
index 1c7bd07f86cc499051c4bf3fbe7b98a41f372044..933e3cb8735ed336c9c1359156cba4857f47e691 100644
(file)
--- a/
src/rps/gnunet-service-rps_peers.c
+++ b/
src/rps/gnunet-service-rps_peers.c
@@
-661,6
+661,7
@@
remove_pending_message (struct PendingMessage *pending_msg, int cancel)
struct PeerContext *peer_ctx;
peer_ctx = pending_msg->peer_ctx;
+ GNUNET_assert (NULL != peer_ctx);
GNUNET_CONTAINER_DLL_remove (peer_ctx->pending_messages_head,
peer_ctx->pending_messages_tail,
pending_msg);