Tidying up and make it consistent with the documentation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@230 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjsip/src/pjsua/pjsua_core.c b/pjsip/src/pjsua/pjsua_core.c
index 56a2906..f5c3546 100644
--- a/pjsip/src/pjsua/pjsua_core.c
+++ b/pjsip/src/pjsua/pjsua_core.c
@@ -344,7 +344,7 @@
/* Initialize transaction layer: */
- status = pjsip_tsx_layer_init(pjsua.endpt);
+ status = pjsip_tsx_layer_init_module(pjsua.endpt);
if (status != PJ_SUCCESS) {
pjsua_perror(THIS_FILE, "Transaction layer initialization error",
status);
@@ -353,7 +353,7 @@
/* Initialize UA layer module: */
- status = pjsip_ua_init( pjsua.endpt, NULL );
+ status = pjsip_ua_init_module( pjsua.endpt, NULL );
if (status != PJ_SUCCESS) {
pjsua_perror(THIS_FILE, "UA layer initialization error", status);
goto on_error;
@@ -368,7 +368,6 @@
{ "mod-pjsua", 9 }, /* Name. */
-1, /* Id */
PJSIP_MOD_PRIORITY_APPLICATION, /* Priority */
- NULL, /* User data. */
NULL, /* load() */
NULL, /* start() */
NULL, /* stop() */