Changeset 1288 for pjproject/trunk/pjnath/src/pjnath-test/ice_test.c
- Timestamp:
- May 22, 2007 9:11:10 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjnath-test/ice_test.c
r1129 r1288 293 293 /* Start ICE on im2 */ 294 294 status = start_ice(im2, im1); 295 if (status != PJ_SUCCESS) 295 if (status != PJ_SUCCESS) { 296 app_perror(" error starting ICE", status); 296 297 return -30; 298 } 297 299 298 300 /* Start ICE on im1 */ … … 329 331 data_from_answerer = pj_str("from answerer"); 330 332 status = pj_ice_sess_send_data(im2->ice, 1, data_from_answerer.ptr, data_from_answerer.slen); 331 if (status != PJ_SUCCESS) 333 if (status != PJ_SUCCESS) { 334 app_perror(" error sending packet", status); 332 335 return -48; 336 } 333 337 334 338 /* Poll to allow data to be received */ … … 477 481 478 482 /* Failure case (all checks fail) */ 483 #if 0 484 /* Cannot just add an SRFLX candidate; it needs a base */ 479 485 rc = perform_ice_test("Failure case (all checks fail)", PJ_FALSE, 1, PJ_FALSE, D3, D3, 1, ocand, 1, acand); 480 486 if (rc != 0) 481 487 goto on_return; 488 #endif 482 489 483 490 /* Direct communication with invalid address */
Note: See TracChangeset
for help on using the changeset viewer.