summaryrefslogtreecommitdiff
path: root/toxav
diff options
context:
space:
mode:
authormannol <eniz_vukovic@hotmail.com>2014-05-24 16:40:17 +0200
committermannol <eniz_vukovic@hotmail.com>2014-05-24 16:40:17 +0200
commit08ca08dcd952d55a0df75e5efa25a5d8afa70e3f (patch)
tree1da1409347ee2c2cbbc7c48ca9383b8215e66e26 /toxav
parent565e95301f19884b3597404f41c06566cf5f9dc0 (diff)
Small fix
Diffstat (limited to 'toxav')
-rwxr-xr-xtoxav/msi.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/toxav/msi.c b/toxav/msi.c
index 048b13eb..6c2460f0 100755
--- a/toxav/msi.c
+++ b/toxav/msi.c
@@ -1485,8 +1485,10 @@ int msi_terminate_session ( MSISession *session )
1485 for (; idx < session->max_calls; idx ++) if ( session->calls[idx] ) { 1485 for (; idx < session->max_calls; idx ++) if ( session->calls[idx] ) {
1486 /* Cancel all? */ 1486 /* Cancel all? */
1487 uint16_t _it = 0; 1487 uint16_t _it = 0;
1488 for ( ; _it < session->calls[idx]->peer_count; _it++ ) 1488 /*for ( ; _it < session->calls[idx]->peer_count; _it++ )
1489 msi_cancel ( session, idx, session->calls[idx]->peers [_it], "MSI session terminated!" ); 1489 * FIXME: will not work on multiple peers, must cancel call for all peers
1490 */
1491 msi_cancel ( session, idx, session->calls[idx]->peers [_it], "MSI session terminated!" );
1490 } 1492 }
1491 1493
1492 1494