Ticket #551: sip_endpoint.c-GenericUriPatch

File sip_endpoint.c-GenericUriPatch, 676 bytes (added by bennylp, 16 years ago)
Line 
1Index: sip_endpoint.c
2===================================================================
3--- sip_endpoint.c      (Revision 2046)
4+++ sip_endpoint.c      (Arbeitskopie)
5@@ -113,7 +113,10 @@
6 /* Defined in sip_tel_uri.c */
7 pj_status_t pjsip_tel_uri_subsys_init(void);
8 
9+/* Defined in sip_generic_uri.c */
10+pj_status_t pjsip_generic_uri_subsys_init(void);
11 
12+
13 /* Specifies whether error subsystem has been registered to pjlib. */
14 static int error_subsys_initialized;
15 
16@@ -446,6 +449,9 @@
17     /* Init tel: uri */
18     pjsip_tel_uri_subsys_init();
19 
20+               /* Init generic uri parser */
21+               pjsip_generic_uri_subsys_init();
22+
23     /* Get name. */
24     if (name != NULL) {
25        pj_str_t temp;