Changeset 1236
- Timestamp:
- May 1, 2007 6:36:15 AM (18 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pjlib-test/ioq_perf.c
r1235 r1236 333 333 struct thread_arg *arg; 334 334 335 arg = ( thread_arg*) pj_pool_zalloc(pool, sizeof(*arg));335 arg = (struct thread_arg*) pj_pool_zalloc(pool, sizeof(*arg)); 336 336 arg->id = i; 337 337 arg->ioqueue = ioqueue; -
pjproject/trunk/pjsip/src/test-pjsip/msg_test.c
r1228 r1236 971 971 } 972 972 973 /* "application/ *, text/plain\r\n" */973 /* "application/ *, text/plain\r\n" */ 974 974 static int hdr_test_accept1(pjsip_hdr *h) 975 975 { … … 991 991 } 992 992 993 /* "application/ *;p1=v1, text/plain\r\n" */993 /* "application/ *;p1=v1, text/plain\r\n" */ 994 994 static int hdr_test_accept2(pjsip_hdr *h) 995 995 { … … 1117 1117 #define NAME_ADDR "<" ADDR_SPEC ">" 1118 1118 */ 1119 static int nameaddr_test( pjsip_uri*uri)1120 { 1121 pjsip_sip_uri *sip_uri = (pjsip_sip_uri *)pjsip_uri_get_uri(uri);1119 static int nameaddr_test(void *uri) 1120 { 1121 pjsip_sip_uri *sip_uri=(pjsip_sip_uri *)pjsip_uri_get_uri((pjsip_uri*)uri); 1122 1122 pjsip_param *param; 1123 1123 int rc; … … 1356 1356 return -2210; 1357 1357 1358 rc = nameaddr_test( (pjsip_uri*)&hdr->name_addr);1358 rc = nameaddr_test(&hdr->name_addr); 1359 1359 if (rc != 0) 1360 1360 return rc; … … 1471 1471 } 1472 1472 1473 #if 01473 #if 1 1474 1474 /* Parse with hshortname, if present */ 1475 1475 if (test->hshort_name) {
Note: See TracChangeset
for help on using the changeset viewer.