diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-06-23 15:47:00 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-06-23 15:47:00 +0000 |
commit | b362c44283de83700432d668d1b03496623f6792 (patch) | |
tree | 90505bcdcda825788543d171d038ce875d8f6857 /src | |
parent | 310b25e5a713d547aea2f34c76e7b3e35ded1ea5 (diff) | |
download | gnunet-b362c44283de83700432d668d1b03496623f6792.tar.gz gnunet-b362c44283de83700432d668d1b03496623f6792.zip |
- fix ERROR log
Diffstat (limited to 'src')
-rw-r--r-- | src/cadet/gnunet-service-cadet_connection.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cadet/gnunet-service-cadet_connection.c b/src/cadet/gnunet-service-cadet_connection.c index d65c9f04b..f71ac1f7b 100644 --- a/src/cadet/gnunet-service-cadet_connection.c +++ b/src/cadet/gnunet-service-cadet_connection.c | |||
@@ -595,10 +595,10 @@ conn_message_sent (void *cls, | |||
595 | { | 595 | { |
596 | forced = GNUNET_NO; | 596 | forced = GNUNET_NO; |
597 | } | 597 | } |
598 | if (NULL == c) | 598 | if (NULL == c |
599 | && type != GNUNET_MESSAGE_TYPE_CADET_CONNECTION_BROKEN | ||
600 | && type != GNUNET_MESSAGE_TYPE_CADET_CONNECTION_DESTROY) | ||
599 | { | 601 | { |
600 | GNUNET_break (type == GNUNET_MESSAGE_TYPE_CADET_CONNECTION_BROKEN || | ||
601 | type == GNUNET_MESSAGE_TYPE_CADET_CONNECTION_DESTROY); | ||
602 | LOG (GNUNET_ERROR_TYPE_ERROR, "Message %s sent on NULL connection!\n", | 602 | LOG (GNUNET_ERROR_TYPE_ERROR, "Message %s sent on NULL connection!\n", |
603 | GC_m2s (type)); | 603 | GC_m2s (type)); |
604 | return; | 604 | return; |