Changeset 2774


Ignore:
Timestamp:
Jun 17, 2009 7:20:11 PM (11 years ago)
Author:
bennylp
Message:

Ticket #889: TURN client ignores the allocation parameter specified by application

File:
1 edited

Legend:

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

    r2692 r2774  
    708708    pj_lock_acquire(sess->lock); 
    709709 
     710    if (param && param != &sess->alloc_param)  
     711        pj_turn_alloc_param_copy(sess->pool, &sess->alloc_param, param); 
     712 
    710713    if (sess->state < PJ_TURN_STATE_RESOLVED) { 
    711         if (param && param != &sess->alloc_param)  
    712             pj_turn_alloc_param_copy(sess->pool, &sess->alloc_param, param); 
    713714        sess->pending_alloc = PJ_TRUE; 
    714715 
Note: See TracChangeset for help on using the changeset viewer.