Changeset 1981 for pjproject/trunk/pjsip/src/test-pjsip/regc_test.c
- Timestamp:
- Jun 4, 2008 2:44:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/test-pjsip/regc_test.c
r1959 r1981 581 581 goto on_return; 582 582 } 583 if ( h1->next == (pjsip_contact_hdr*)&tdata->msg->hdr)583 if ((void*)h1->next == (void*)&tdata->msg->hdr) 584 584 h2 = NULL; 585 585 else … … 591 591 } 592 592 /* must not have other Contact header */ 593 if ( h2->next != (pjsip_contact_hdr*)&tdata->msg->hdr &&593 if ((void*)h2->next != (void*)&tdata->msg->hdr && 594 594 pjsip_msg_find_hdr(tdata->msg, PJSIP_H_CONTACT, h2->next) != NULL) 595 595 { … … 661 661 goto on_return; 662 662 } 663 if ( h1->next == (pjsip_contact_hdr*)&tdata->msg->hdr)663 if ((void*)h1->next == (void*)&tdata->msg->hdr) 664 664 h2 = NULL; 665 665 else … … 671 671 } 672 672 /* must not have other Contact header */ 673 if ( h2->next != (pjsip_contact_hdr*)&tdata->msg->hdr &&673 if ((void*)h2->next != (void*)&tdata->msg->hdr && 674 674 pjsip_msg_find_hdr(tdata->msg, PJSIP_H_CONTACT, h2->next) != NULL) 675 675 {
Note: See TracChangeset
for help on using the changeset viewer.