Changeset 4385 for pjproject/branches/1.x/pjsip/src/pjsip/sip_dialog.c
- Timestamp:
- Feb 27, 2013 10:11:59 AM (10 years ago)
- Location:
- pjproject/branches/1.x
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/1.x
- Property svn:mergeinfo changed
/pjproject/trunk merged: 4208,4296
- Property svn:mergeinfo changed
-
pjproject/branches/1.x/pjsip/src/pjsip/sip_dialog.c
r4380 r4385 207 207 208 208 /* Calculate hash value of local tag. */ 209 dlg->local.tag_hval = pj_hash_calc (0, dlg->local.info->tag.ptr,210 dlg->local.info->tag.slen);209 dlg->local.tag_hval = pj_hash_calc_tolower(0, NULL, 210 &dlg->local.info->tag); 211 211 212 212 /* Randomize local CSeq. */ … … 375 375 376 376 /* Calculate hash value of local tag. */ 377 dlg->local.tag_hval = pj_hash_calc(0, dlg->local.info->tag.ptr, 378 dlg->local.info->tag.slen); 377 dlg->local.tag_hval = pj_hash_calc_tolower(0, NULL, &dlg->local.info->tag); 379 378 380 379 … … 523 522 524 523 /* Calculate hash value of remote tag. */ 525 dlg->remote.tag_hval = pj_hash_calc(0, dlg->remote.info->tag.ptr, 526 dlg->remote.info->tag.slen); 524 dlg->remote.tag_hval = pj_hash_calc_tolower(0, NULL, &dlg->remote.info->tag); 527 525 528 526 /* Update remote capabilities info */ … … 1777 1775 res_code/100 <= 2 && 1778 1776 pjsip_method_creates_dialog(&rdata->msg_info.cseq->method) && 1779 pj_str cmp(&dlg->remote.info->tag, &rdata->msg_info.to->tag)))1777 pj_stricmp(&dlg->remote.info->tag, &rdata->msg_info.to->tag))) 1780 1778 { 1781 1779 pjsip_contact_hdr *contact; … … 1786 1784 */ 1787 1785 pjsip_dlg_update_remote_cap(dlg, rdata->msg_info.msg, 1788 pj_str cmp(&dlg->remote.info->tag,1786 pj_stricmp(&dlg->remote.info->tag, 1789 1787 &rdata->msg_info.to->tag)); 1790 1788
Note: See TracChangeset
for help on using the changeset viewer.