Changeset 5450 for pjproject


Ignore:
Timestamp:
Oct 7, 2016 1:42:52 AM (8 years ago)
Author:
ming
Message:

Re #1945 (misc): Fixed incorrect usage of pj_memcmp()

File:
1 edited

Legend:

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

    r5191 r5450  
    252252    unsigned i; 
    253253    for (i=0; i<PJ_ARRAY_SIZE(method_names); ++i) { 
    254         if (pj_memcmp(str->ptr, method_names[i]->ptr, str->slen)==0 ||  
     254        if (pj_memcmp(str, &method_names[i], sizeof(pj_str_t))==0 ||  
    255255            pj_stricmp(str, method_names[i])==0)  
    256256        { 
Note: See TracChangeset for help on using the changeset viewer.