Changeset 2810


Ignore:
Timestamp:
Jun 25, 2009 12:53:14 PM (15 years ago)
Author:
bennylp
Message:

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

  • backported changes from #889
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.0/pjnath/src/pjnath/turn_session.c

    r2407 r2810  
    639639    pj_lock_acquire(sess->lock); 
    640640 
     641    if (param && param != &sess->alloc_param)  
     642        pj_turn_alloc_param_copy(sess->pool, &sess->alloc_param, param); 
     643 
    641644    if (sess->state < PJ_TURN_STATE_RESOLVED) { 
    642         if (param && param != &sess->alloc_param)  
    643             pj_turn_alloc_param_copy(sess->pool, &sess->alloc_param, param); 
    644645        sess->pending_alloc = PJ_TRUE; 
    645646 
Note: See TracChangeset for help on using the changeset viewer.