From 511d197e8ce60cfdc8bb956d94483c4e6ec5725d Mon Sep 17 00:00:00 2001 From: irungentoo Date: Tue, 22 Jul 2014 11:24:47 -0400 Subject: [PATCH] Fixed warning. --- toxav/msi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 inline__ int send_reponse ( MSISession *session, MSICall *call, MSIResponse response, uint32_t to ) { MSIMessage *msg = msi_new_message ( TypeResponse, response ); - send_message ( session, call, msg, to ); + int ret = send_message ( session, call, msg, to ); free ( msg ); + return ret; } /**