Changeset 127 for pjproject/trunk/pjsip/src/pjsip/sip_parser.c
- Timestamp:
- Jan 30, 2006 6:40:05 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_parser.c
r123 r127 1168 1168 1169 1169 if (parser_stricmp(scheme, pjsip_SIP_STR)==0) { 1170 url = pjsip_ url_create(pool, 0);1170 url = pjsip_sip_uri_create(pool, 0); 1171 1171 1172 1172 } else if (parser_stricmp(scheme, pjsip_SIPS_STR)==0) { 1173 url = pjsip_ url_create(pool, 1);1173 url = pjsip_sip_uri_create(pool, 1); 1174 1174 1175 1175 } else { … … 1542 1542 static pjsip_hdr* parse_hdr_expires(pjsip_parse_ctx *ctx) 1543 1543 { 1544 pjsip_expires_hdr *hdr = pjsip_expires_hdr_create(ctx->pool );1544 pjsip_expires_hdr *hdr = pjsip_expires_hdr_create(ctx->pool, 0); 1545 1545 parse_generic_int_hdr(hdr, ctx->scanner); 1546 1546 return (pjsip_hdr*)hdr; … … 1602 1602 { 1603 1603 pjsip_retry_after_hdr *hdr; 1604 hdr = pjsip_retry_after_hdr_create(ctx->pool );1604 hdr = pjsip_retry_after_hdr_create(ctx->pool, 0); 1605 1605 parse_generic_int_hdr(hdr, ctx->scanner); 1606 1606 return (pjsip_hdr*)hdr; … … 1674 1674 static pjsip_hdr* parse_hdr_max_forwards( pjsip_parse_ctx *ctx ) 1675 1675 { 1676 pjsip_max_f orwards_hdr *hdr;1677 hdr = pjsip_max_f orwards_hdr_create(ctx->pool);1676 pjsip_max_fwd_hdr *hdr; 1677 hdr = pjsip_max_fwd_hdr_create(ctx->pool, 0); 1678 1678 parse_generic_int_hdr(hdr, ctx->scanner); 1679 1679 … … 1688 1688 { 1689 1689 pjsip_min_expires_hdr *hdr; 1690 hdr = pjsip_min_expires_hdr_create(ctx->pool );1690 hdr = pjsip_min_expires_hdr_create(ctx->pool, 0); 1691 1691 parse_generic_int_hdr(hdr, ctx->scanner); 1692 1692 return (pjsip_hdr*)hdr; … … 1821 1821 pjsip_generic_string_hdr *hdr; 1822 1822 1823 hdr = pjsip_generic_string_hdr_create(ctx->pool, NULL );1823 hdr = pjsip_generic_string_hdr_create(ctx->pool, NULL, NULL); 1824 1824 parse_generic_string_hdr(hdr, ctx->scanner); 1825 1825 return (pjsip_hdr*)hdr;
Note: See TracChangeset
for help on using the changeset viewer.