gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] 02/03: fix rps service: don't null out context, ju


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 02/03: fix rps service: don't null out context, just channel
Date: Thu, 26 Jul 2018 16:54:32 +0200

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

julius-buenger pushed a commit to branch master
in repository gnunet.

commit 85c97d3186e61c9e98528100e7db16e89a220cd8
Author: Julius Bünger <address@hidden>
AuthorDate: Thu Jul 26 16:53:24 2018 +0200

    fix rps service: don't null out context, just channel
---
 src/rps/gnunet-service-rps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
   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);

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



reply via email to

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