mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed warning.
This commit is contained in:
parent
6ede3e8ad4
commit
511d197e8c
|
@ -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 )
|
inline__ int send_reponse ( MSISession *session, MSICall *call, MSIResponse response, uint32_t to )
|
||||||
{
|
{
|
||||||
MSIMessage *msg = msi_new_message ( TypeResponse, response );
|
MSIMessage *msg = msi_new_message ( TypeResponse, response );
|
||||||
send_message ( session, call, msg, to );
|
int ret = send_message ( session, call, msg, to );
|
||||||
free ( msg );
|
free ( msg );
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user