diff options
-rw-r--r-- | toxav/msi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toxav/msi.c b/toxav/msi.c index b300ca75..10eac60c 100644 --- a/toxav/msi.c +++ b/toxav/msi.c | |||
@@ -725,8 +725,9 @@ static int send_message ( MSISession *session, MSICall *call, MSIMessage *msg, u | |||
725 | inline__ int send_reponse ( MSISession *session, MSICall *call, MSIResponse response, uint32_t to ) | 725 | inline__ int send_reponse ( MSISession *session, MSICall *call, MSIResponse response, uint32_t to ) |
726 | { | 726 | { |
727 | MSIMessage *msg = msi_new_message ( TypeResponse, response ); | 727 | MSIMessage *msg = msi_new_message ( TypeResponse, response ); |
728 | send_message ( session, call, msg, to ); | 728 | int ret = send_message ( session, call, msg, to ); |
729 | free ( msg ); | 729 | free ( msg ); |
730 | return ret; | ||
730 | } | 731 | } |
731 | 732 | ||
732 | /** | 733 | /** |