gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] 09/11: - adjust FWD/BCK to new channel numbering


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 09/11: - adjust FWD/BCK to new channel numbering
Date: Wed, 08 Feb 2017 19:44:37 +0100

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

bart-polot pushed a commit to branch master
in repository gnunet.

commit 3cfcfa48b5682d4e55e168ffb9c78db9b2d9c351
Author: Bart Polot <address@hidden>
AuthorDate: Wed Feb 8 19:41:06 2017 +0100

    - adjust FWD/BCK to new channel numbering
---
 src/cadet/cadet_api.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cadet/cadet_api.c b/src/cadet/cadet_api.c
index 644f755ec..e20796d17 100644
--- a/src/cadet/cadet_api.c
+++ b/src/cadet/cadet_api.c
@@ -1027,7 +1027,7 @@ handle_local_data (void *cls,
 
   payload = (struct GNUNET_MessageHeader *) &message[1];
   type = ntohs (payload->type);
-  fwd = ntohl (ch->ccn.channel_of_client) >= GNUNET_CADET_LOCAL_CHANNEL_ID_CLI;
+  fwd = ntohl (ch->ccn.channel_of_client) <= GNUNET_CADET_LOCAL_CHANNEL_ID_CLI;
   LOG (GNUNET_ERROR_TYPE_DEBUG,
        "Got a %s data on channel %s [%X] of type %s (%u)\n",
        GC_f2s (fwd),

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



reply via email to

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