diff options
Diffstat (limited to 'src/rps')
-rw-r--r-- | src/rps/gnunet-service-rps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c index a5fb88157..d6c6d0ecc 100644 --- a/src/rps/gnunet-service-rps.c +++ b/src/rps/gnunet-service-rps.c | |||
@@ -1725,7 +1725,7 @@ destroy_channel (void *cls) | |||
1725 | struct PeerContext *peer_ctx = channel_ctx->peer_ctx; | 1725 | struct PeerContext *peer_ctx = channel_ctx->peer_ctx; |
1726 | uint32_t *channel_flag; | 1726 | uint32_t *channel_flag; |
1727 | 1727 | ||
1728 | channel_ctx = NULL; | 1728 | channel_ctx->destruction_task = NULL; |
1729 | GNUNET_CADET_channel_destroy (peer_ctx->send_channel_ctx->channel); | 1729 | GNUNET_CADET_channel_destroy (peer_ctx->send_channel_ctx->channel); |
1730 | channel_flag = Peers_get_channel_flag (&peer_ctx->peer_id, Peers_CHANNEL_ROLE_SENDING); | 1730 | channel_flag = Peers_get_channel_flag (&peer_ctx->peer_id, Peers_CHANNEL_ROLE_SENDING); |
1731 | Peers_set_channel_flag (channel_flag, Peers_CHANNEL_DESTROING); | 1731 | Peers_set_channel_flag (channel_flag, Peers_CHANNEL_DESTROING); |