Changeset 1557 for pjproject/trunk
- Timestamp:
- Nov 7, 2007 1:03:11 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/transport_ice.c
r1436 r1557 363 363 if (!token) 364 364 goto on_return; 365 if ( strcmp(token, "UDP") != 0)365 if (pj_ansi_stricmp(token, "UDP") != 0) 366 366 goto on_return; 367 367 … … 389 389 if (!token) 390 390 goto on_return; 391 if ( strcmp(token, "typ") != 0)391 if (pj_ansi_stricmp(token, "typ") != 0) 392 392 goto on_return; 393 393 … … 397 397 goto on_return; 398 398 399 if ( strcmp(token, "host") == 0) {399 if (pj_ansi_stricmp(token, "host") == 0) { 400 400 cand->type = PJ_ICE_CAND_TYPE_HOST; 401 401 402 } else if ( strcmp(token, "srflx") == 0) {402 } else if (pj_ansi_stricmp(token, "srflx") == 0) { 403 403 cand->type = PJ_ICE_CAND_TYPE_SRFLX; 404 404 405 } else if ( strcmp(token, "relay") == 0) {405 } else if (pj_ansi_stricmp(token, "relay") == 0) { 406 406 cand->type = PJ_ICE_CAND_TYPE_RELAYED; 407 407 408 } else if ( strcmp(token, "prflx") == 0) {408 } else if (pj_ansi_stricmp(token, "prflx") == 0) { 409 409 cand->type = PJ_ICE_CAND_TYPE_PRFLX; 410 410 … … 511 511 512 512 /* Detect if remote is ICE lite */ 513 if (pj_str cmp(&attr->name, &STR_ICE_LITE)==0) {513 if (pj_stricmp(&attr->name, &STR_ICE_LITE)==0) { 514 514 remote_is_lite = PJ_TRUE; 515 515 continue; … … 517 517 518 518 /* Detect if remote has reported ICE mismatch */ 519 if (pj_str cmp(&attr->name, &STR_ICE_MISMATCH)==0) {519 if (pj_stricmp(&attr->name, &STR_ICE_MISMATCH)==0) { 520 520 ice_mismatch = PJ_TRUE; 521 521 continue; 522 522 } 523 523 524 if (pj_str cmp(&attr->name, &STR_CANDIDATE)!=0)524 if (pj_stricmp(&attr->name, &STR_CANDIDATE)!=0) 525 525 continue; 526 526
Note: See TracChangeset
for help on using the changeset viewer.