gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: fix task cleanup on CTRL-D


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: fix task cleanup on CTRL-D
Date: Sun, 29 Jan 2017 19:44:31 +0100

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

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 9f4bc1121 fix task cleanup on CTRL-D
9f4bc1121 is described below

commit 9f4bc1121c34560a72a09db49e5b163a64eb5b06
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Jan 29 19:44:30 2017 +0100

    fix task cleanup on CTRL-D
---
 src/cadet/gnunet-cadet.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/cadet/gnunet-cadet.c b/src/cadet/gnunet-cadet.c
index 80010ec54..043318ff3 100644
--- a/src/cadet/gnunet-cadet.c
+++ b/src/cadet/gnunet-cadet.c
@@ -313,6 +313,7 @@ read_stdio (void *cls)
 {
   static char buf[60000];
 
+  rd_task = NULL;
   data_size = read (0, buf, 60000);
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
               "stdio read %u bytes\n",
@@ -464,6 +465,7 @@ channel_incoming (void *cls,
 static void
 send_echo (void *cls)
 {
+  echo_task = NULL;
   if (NULL == ch)
     return;
   GNUNET_assert (NULL == th);
@@ -540,9 +542,9 @@ create_channel (void *cls)
  */
 static int
 data_callback (void *cls,
-       struct GNUNET_CADET_Channel *channel,
-       void **channel_ctx,
-       const struct GNUNET_MessageHeader *message)
+               struct GNUNET_CADET_Channel *channel,
+               void **channel_ctx,
+               const struct GNUNET_MessageHeader *message)
 {
   uint16_t len;
   ssize_t done;

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



reply via email to

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