diff options
author | Bart Polot <bart.polot+voyager@gmail.com> | 2017-02-08 19:41:06 +0100 |
---|---|---|
committer | Bart Polot <bart.polot+voyager@gmail.com> | 2017-02-08 19:41:06 +0100 |
commit | 3cfcfa48b5682d4e55e168ffb9c78db9b2d9c351 (patch) | |
tree | 23ee10f8f3b81f44688203f51a75fc89de036718 /src/cadet/cadet_api.c | |
parent | 1aa3a2b2beda8e6a8d13da61e0f7c813083bb2bc (diff) | |
download | gnunet-3cfcfa48b5682d4e55e168ffb9c78db9b2d9c351.tar.gz gnunet-3cfcfa48b5682d4e55e168ffb9c78db9b2d9c351.zip |
- adjust FWD/BCK to new channel numbering
Diffstat (limited to 'src/cadet/cadet_api.c')
-rw-r--r-- | src/cadet/cadet_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
1027 | 1027 | ||
1028 | payload = (struct GNUNET_MessageHeader *) &message[1]; | 1028 | payload = (struct GNUNET_MessageHeader *) &message[1]; |
1029 | type = ntohs (payload->type); | 1029 | type = ntohs (payload->type); |
1030 | fwd = ntohl (ch->ccn.channel_of_client) >= GNUNET_CADET_LOCAL_CHANNEL_ID_CLI; | 1030 | fwd = ntohl (ch->ccn.channel_of_client) <= GNUNET_CADET_LOCAL_CHANNEL_ID_CLI; |
1031 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 1031 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
1032 | "Got a %s data on channel %s [%X] of type %s (%u)\n", | 1032 | "Got a %s data on channel %s [%X] of type %s (%u)\n", |
1033 | GC_f2s (fwd), | 1033 | GC_f2s (fwd), |