Changeset 6111


Ignore:
Timestamp:
Nov 29, 2019 4:02:11 AM (5 years ago)
Author:
ming
Message:

Re #2210 (misc): Removed assertion in turn sock which can be incorrectly triggered on first conection.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath/turn_sock.c

    r6073 r6111  
    15891589            break; 
    15901590    } 
    1591     pj_assert(i < turn_sock->data_conn_cnt); 
     1591    /* If this is the first connection, turn_sock->data_conn_cnt can be 0. */ 
     1592    // pj_assert(i < turn_sock->data_conn_cnt); 
    15921593    ++turn_sock->data_conn_cnt; 
    15931594 
Note: See TracChangeset for help on using the changeset viewer.