Ignore:
Timestamp:
Feb 20, 2017 2:11:46 AM (2 years ago)
Author:
riza
Message:

Re #1994 (misc): Don't try to resolve a DNS SRV query that is already considered resolved.
Thanks to Richard Mudgett for the patch.

File:
1 edited

Legend:

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

    r5556 r5559  
    423423    tdata->pool = pool; 
    424424    tdata->mgr = mgr; 
    425     pj_memcpy(tdata->obj_name, pool->obj_name, PJ_MAX_OBJ_NAME); 
     425    pj_ansi_snprintf(tdata->obj_name, sizeof(tdata->obj_name), "tdta%p", tdata); 
     426    pj_memcpy(pool->obj_name, tdata->obj_name, sizeof(pool->obj_name)); 
    426427 
    427428    status = pj_atomic_create(tdata->pool, 0, &tdata->ref_cnt); 
Note: See TracChangeset for help on using the changeset viewer.