Changeset 6114


Ignore:
Timestamp:
Dec 3, 2019 7:18:17 AM (5 years ago)
Author:
nanang
Message:

Misc (re #2210): Updated assertion condition in TURN socket (was removed in r6111). Thanks to Sébastien Blin for the report.

File:
1 edited

Legend:

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

    r6111 r6114  
    15891589            break; 
    15901590    } 
    1591     /* If this is the first connection, turn_sock->data_conn_cnt can be 0. */ 
    1592     // pj_assert(i < turn_sock->data_conn_cnt); 
     1591 
     1592    /* Verify that a free slot is found */ 
     1593    pj_assert(i < PJ_TURN_MAX_TCP_CONN_CNT); 
    15931594    ++turn_sock->data_conn_cnt; 
    15941595 
Note: See TracChangeset for help on using the changeset viewer.