mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-30 02:03:27 +01:00
Merge pull request #151 from mannol1/master
Forgot to set index in some callbacks
This commit is contained in:
commit
eafa660dee
@ -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 )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user