Ignore:
Timestamp:
Dec 1, 2010 8:53:52 AM (13 years ago)
Author:
nanang
Message:

Misc (re #1151): fixed pjsua_acc_config_dup(), some fields, i.e: contact_params, contact_uri_params, and auth_pref, were not duplicated properly (thanks Roman Grachev for the report and the patch).

File:
1 edited

Legend:

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

    r3149 r3377  
    109109on_return: 
    110110    return result; 
     111} 
     112 
     113PJ_DEF(void) pjsip_auth_clt_pref_dup( pj_pool_t *pool, 
     114                                      pjsip_auth_clt_pref *dst, 
     115                                      const pjsip_auth_clt_pref *src) 
     116{ 
     117    pj_memcpy(dst, src, sizeof(pjsip_auth_clt_pref)); 
     118    pj_strdup_with_null(pool, &dst->algorithm, &src->algorithm); 
    111119} 
    112120 
Note: See TracChangeset for help on using the changeset viewer.