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:
3215ab6
)
fix rps service: don't null out context, just channel
author
Julius Bünger
<buenger@mytum.de>
Thu, 26 Jul 2018 14:53:24 +0000
(16:53 +0200)
committer
Julius Bünger
<buenger@mytum.de>
Thu, 26 Jul 2018 14:53:24 +0000
(16:53 +0200)
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 a5fb88157a5c7c2982f75192e10016d408564ae8..d6c6d0eccdc8b5d9071735ddd8ce5947de762d3f 100644
(file)
--- a/
src/rps/gnunet-service-rps.c
+++ b/
src/rps/gnunet-service-rps.c
@@
-1725,7
+1725,7
@@
destroy_channel (void *cls)
struct PeerContext *peer_ctx = channel_ctx->peer_ctx;
uint32_t *channel_flag;
- channel_ctx = NULL;
+ channel_ctx
->destruction_task
= NULL;
GNUNET_CADET_channel_destroy (peer_ctx->send_channel_ctx->channel);
channel_flag = Peers_get_channel_flag (&peer_ctx->peer_id, Peers_CHANNEL_ROLE_SENDING);
Peers_set_channel_flag (channel_flag, Peers_CHANNEL_DESTROING);