Ignore:
Timestamp:
Apr 15, 2008 10:35:32 AM (17 years ago)
Author:
bennylp
Message:

Use the smart Contact header for TCP/TLS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/ice-turn07/pjsip/src/pjsua-lib/pjsua_acc.c

    r1908 r1930  
    566566        pjsip_regc_destroy(acc->regc); 
    567567        acc->regc = NULL; 
     568        acc->contact.slen = 0; 
    568569    } 
    569570 
     
    854855        pjsip_regc_destroy(acc->regc); 
    855856        acc->regc = NULL; 
     857        acc->contact.slen = 0; 
    856858         
    857859        /* Stop keep-alive timer if any. */ 
     
    864866        pjsip_regc_destroy(acc->regc); 
    865867        acc->regc = NULL; 
     868        acc->contact.slen = 0; 
    866869 
    867870        /* Stop keep-alive timer if any. */ 
     
    873876            pjsip_regc_destroy(acc->regc); 
    874877            acc->regc = NULL; 
     878            acc->contact.slen = 0; 
    875879 
    876880            /* Stop keep-alive timer if any. */ 
     
    941945        pjsip_regc_destroy(acc->regc); 
    942946        acc->regc = NULL; 
     947        acc->contact.slen = 0; 
    943948    } 
    944949 
     
    987992        pj_pool_release(pool); 
    988993        acc->regc = NULL; 
     994        acc->contact.slen = 0; 
    989995        return status; 
    990996    } 
Note: See TracChangeset for help on using the changeset viewer.