diff options
Diffstat (limited to 'src/conversation/conversation_api_call.c')
-rw-r--r-- | src/conversation/conversation_api_call.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conversation/conversation_api_call.c b/src/conversation/conversation_api_call.c index 25e60f0f3..4a671cbda 100644 --- a/src/conversation/conversation_api_call.c +++ b/src/conversation/conversation_api_call.c | |||
@@ -610,10 +610,10 @@ GNUNET_CONVERSATION_call_stop (struct GNUNET_CONVERSATION_Call *call) | |||
610 | call->mic->disable_microphone (call->mic->cls); | 610 | call->mic->disable_microphone (call->mic->cls); |
611 | if (CS_SHUTDOWN != call->state) | 611 | if (CS_SHUTDOWN != call->state) |
612 | { | 612 | { |
613 | call->state = CS_SHUTDOWN; | ||
613 | e = GNUNET_MQ_msg (hang, GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_HANG_UP); | 614 | e = GNUNET_MQ_msg (hang, GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_HANG_UP); |
614 | GNUNET_MQ_notify_sent (e, &finish_stop, call); | 615 | GNUNET_MQ_notify_sent (e, &finish_stop, call); |
615 | GNUNET_MQ_send (call->mq, e); | 616 | GNUNET_MQ_send (call->mq, e); |
616 | call->state = CS_SHUTDOWN; | ||
617 | return; | 617 | return; |
618 | } | 618 | } |
619 | if (NULL != call->mq) | 619 | if (NULL != call->mq) |