diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-11-16 19:37:25 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-11-16 19:37:25 +0000 |
commit | a3e2deaf8f18e510c529bbf5877232b2186a58ec (patch) | |
tree | 612c8bb1f9380397113e845d5189d39811c391bf /src/conversation/conversation_api_call.c | |
parent | 942c00a499e9fd77a7573de622d169f362b08abd (diff) | |
download | gnunet-a3e2deaf8f18e510c529bbf5877232b2186a58ec.tar.gz gnunet-a3e2deaf8f18e510c529bbf5877232b2186a58ec.zip |
-fix shutdown
Diffstat (limited to 'src/conversation/conversation_api_call.c')
-rw-r--r-- | src/conversation/conversation_api_call.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/conversation/conversation_api_call.c b/src/conversation/conversation_api_call.c index 4a671cbda..0d603e0ba 100644 --- a/src/conversation/conversation_api_call.c +++ b/src/conversation/conversation_api_call.c | |||
@@ -456,6 +456,11 @@ call_error_handler (void *cls, | |||
456 | { | 456 | { |
457 | struct GNUNET_CONVERSATION_Call *call = cls; | 457 | struct GNUNET_CONVERSATION_Call *call = cls; |
458 | 458 | ||
459 | if (CS_SHUTDOWN == call->state) | ||
460 | { | ||
461 | GNUNET_CONVERSATION_call_stop (call); | ||
462 | return; | ||
463 | } | ||
459 | GNUNET_break (0); | 464 | GNUNET_break (0); |
460 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 465 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
461 | _("Internal MQ error %d\n"), | 466 | _("Internal MQ error %d\n"), |