Changeset 1266 for pjproject/trunk/pjsip/src/test-pjsip/uri_test.c
- Timestamp:
- May 11, 2007 3:14:34 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/test-pjsip/uri_test.c
r1231 r1266 383 383 do { \ 384 384 pjsip_param *param; \ 385 param= pj_pool_alloc(pool, sizeof(pjsip_param)); \385 param=PJ_POOL_ALLOC_T(pool, pjsip_param); \ 386 386 param->name = pj_str(pname); \ 387 387 param->value = pj_str(pvalue); \ … … 663 663 uri->number = pj_str("911"); 664 664 665 p = pj_pool_alloc(pool, sizeof(*p));665 p = PJ_POOL_ALLOC_T(pool, pjsip_param); 666 666 p->name = p->value = pj_str("p1"); 667 667 pj_list_insert_before(&uri->other_param, p); … … 726 726 727 727 /* Print both URI. */ 728 s1.ptr = pj_pool_alloc(pool, PJSIP_MAX_URL_SIZE);729 s2.ptr = pj_pool_alloc(pool, PJSIP_MAX_URL_SIZE);728 s1.ptr = (char*) pj_pool_alloc(pool, PJSIP_MAX_URL_SIZE); 729 s2.ptr = (char*) pj_pool_alloc(pool, PJSIP_MAX_URL_SIZE); 730 730 731 731 pj_get_timestamp(&t1);
Note: See TracChangeset
for help on using the changeset viewer.