1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-12-27 13:33:26 +01:00

Merge pull request #151 from mannol1/master

Forgot to set index in some callbacks
This commit is contained in:
mannol1 2014-06-24 00:30:37 +02:00
commit eafa660dee

View File

@ -315,6 +315,7 @@ void callback_recv_error ( int32_t call_index, void* arg )
{
CB_BODY(call_index, arg, onError);
stop_transmission(call_index);
((ToxWindow*)arg)->call_idx = -1;
}
void callback_call_started ( int32_t call_index, void* arg )
{
@ -351,6 +352,7 @@ void callback_call_ended ( int32_t call_index, void* arg )
void callback_requ_timeout ( int32_t call_index, void* arg )
{
CB_BODY(call_index, arg, onRequestTimeout);
((ToxWindow*)arg)->call_idx = -1;
}
void callback_peer_timeout ( int32_t call_index, void* arg )
{