Changeset 2314 for pjproject


Ignore:
Timestamp:
Sep 24, 2008 9:51:51 AM (16 years ago)
Author:
bennylp
Message:

Fixed bug in pjsip_auth_clt_clone(), the cached_auth list is not initialized in the copy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_auth_client.c

    r2109 r2314  
    442442    PJ_ASSERT_RETURN(pool && sess && rhs, PJ_EINVAL); 
    443443 
    444     sess->pool = pool; 
    445     sess->endpt = (pjsip_endpoint*)rhs->endpt; 
     444    pjsip_auth_clt_init(sess, (pjsip_endpoint*)rhs->endpt, pool, 0); 
     445     
    446446    sess->cred_cnt = rhs->cred_cnt; 
    447447    sess->cred_info = (pjsip_cred_info*) 
Note: See TracChangeset for help on using the changeset viewer.