diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-02-18 17:17:42 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-02-18 17:17:42 +0100 |
commit | e00dbaf6877d4a2177eedfea05bd3ac85e6afbb9 (patch) | |
tree | 88e6f52aea71b5c08fe2ac8d6ab4194f1722a362 /src/cadet/gnunet-service-cadet-new.c | |
parent | dbd1c0216d81890be8125c7d17c7b3a93f2d2896 (diff) | |
download | gnunet-e00dbaf6877d4a2177eedfea05bd3ac85e6afbb9.tar.gz gnunet-e00dbaf6877d4a2177eedfea05bd3ac85e6afbb9.zip |
misc bugfixes
Diffstat (limited to 'src/cadet/gnunet-service-cadet-new.c')
-rw-r--r-- | src/cadet/gnunet-service-cadet-new.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/cadet/gnunet-service-cadet-new.c b/src/cadet/gnunet-service-cadet-new.c index b16767fbb..a9b30ccd5 100644 --- a/src/cadet/gnunet-service-cadet-new.c +++ b/src/cadet/gnunet-service-cadet-new.c | |||
@@ -617,12 +617,15 @@ handle_channel_destroy (void *cls, | |||
617 | msg->ccn); | 617 | msg->ccn); |
618 | if (NULL == ch) | 618 | if (NULL == ch) |
619 | { | 619 | { |
620 | /* Client attempted to destroy unknown channel */ | 620 | /* Client attempted to destroy unknown channel. |
621 | GNUNET_break (0); | 621 | Can happen if the other side went down at the same time.*/ |
622 | GNUNET_SERVICE_client_drop (c->client); | 622 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
623 | "%s tried to destroy unknown channel %X\n", | ||
624 | GSC_2s(c), | ||
625 | ntohl (msg->ccn.channel_of_client)); | ||
623 | return; | 626 | return; |
624 | } | 627 | } |
625 | LOG (GNUNET_ERROR_TYPE_INFO, | 628 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
626 | "%s is destroying %s\n", | 629 | "%s is destroying %s\n", |
627 | GSC_2s(c), | 630 | GSC_2s(c), |
628 | GCCH_2s (ch)); | 631 | GCCH_2s (ch)); |