Changeset 713 for pjproject/trunk
- Timestamp:
- Sep 13, 2006 10:48:37 PM (18 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/include/pj/string_i.h
r354 r713 142 142 return diff > 0 ? 1 : -1; 143 143 } else if (str1->ptr && str1->slen) { 144 return pj_ansi_strncmp(str1->ptr, str2->ptr, str1->slen);144 return memcmp(str1->ptr, str2->ptr, str1->slen); 145 145 } else { 146 146 return 0; … … 152 152 { 153 153 if (str1->ptr && str2->ptr) 154 return pj_ansi_strncmp(str1->ptr, str2->ptr, len);154 return memcmp(str1->ptr, str2->ptr, len); 155 155 else if (str2->ptr) 156 156 return str2->slen==0 ? 0 : -1; … … 167 167 return 0; 168 168 else if (str1->ptr && str2) 169 return pj_ansi_strncmp(str1->ptr, str2, len);169 return memcmp(str1->ptr, str2, len); 170 170 else if (str1->ptr) 171 171 return str1->slen==0 ? 0 : 1; -
pjproject/trunk/pjlib/src/pj/config.c
r685 r713 22 22 23 23 static const char *id = "config.c"; 24 const char *PJ_VERSION = "0.5.7. 6";24 const char *PJ_VERSION = "0.5.7.7"; 25 25 26 26 PJ_DEF(void) pj_dump_config(void) -
pjproject/trunk/pjsip/src/pjsip/sip_msg.c
r606 r713 227 227 if (m1->id != PJSIP_OTHER_METHOD) 228 228 return 0; 229 return pj_stricmp(&m1->name, &m2->name); 229 /* Method comparison is case sensitive! */ 230 return pj_strcmp(&m1->name, &m2->name); 230 231 } 231 232
Note: See TracChangeset
for help on using the changeset viewer.