summaryrefslogtreecommitdiff
path: root/pjsip/src/pjsip-simple
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-02-25 21:16:36 +0000
committerBenny Prijono <bennylp@teluu.com>2006-02-25 21:16:36 +0000
commitfd81f3d4f4987cba762713d3e615c2a04b3b8597 (patch)
treedbc8d426eeb871f1b1e60174760f3038563f5733 /pjsip/src/pjsip-simple
parent478d2bc6e45a2dc66472bb577a77537ea97fac5d (diff)
Tidying up and make it consistent with the documentation
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@230 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/pjsip-simple')
-rw-r--r--pjsip/src/pjsip-simple/evsub.c27
-rw-r--r--pjsip/src/pjsip-simple/presence.c3
2 files changed, 14 insertions, 16 deletions
diff --git a/pjsip/src/pjsip-simple/evsub.c b/pjsip/src/pjsip-simple/evsub.c
index 8f102af5..874f9204 100644
--- a/pjsip/src/pjsip-simple/evsub.c
+++ b/pjsip/src/pjsip-simple/evsub.c
@@ -169,20 +169,19 @@ static struct mod_evsub
} mod_evsub =
{
{
- NULL, NULL, /* prev, next. */
- { "mod-evsub", 9 }, /* Name. */
- -1, /* Id */
- PJSIP_MOD_PRIORITY_APPLICATION-1, /* Priority */
- NULL, /* User data. */
- NULL, /* load() */
- NULL, /* start() */
- NULL, /* stop() */
- &mod_evsub_unload, /* unload() */
- NULL, /* on_rx_request() */
- NULL, /* on_rx_response() */
- NULL, /* on_tx_request. */
- NULL, /* on_tx_response() */
- &mod_evsub_on_tsx_state, /* on_tsx_state() */
+ NULL, NULL, /* prev, next. */
+ { "mod-evsub", 9 }, /* Name. */
+ -1, /* Id */
+ PJSIP_MOD_PRIORITY_DIALOG_USAGE, /* Priority */
+ NULL, /* load() */
+ NULL, /* start() */
+ NULL, /* stop() */
+ &mod_evsub_unload, /* unload() */
+ NULL, /* on_rx_request() */
+ NULL, /* on_rx_response() */
+ NULL, /* on_tx_request. */
+ NULL, /* on_tx_response() */
+ &mod_evsub_on_tsx_state, /* on_tsx_state() */
}
};
diff --git a/pjsip/src/pjsip-simple/presence.c b/pjsip/src/pjsip-simple/presence.c
index c47ae1fa..b2cdcf34 100644
--- a/pjsip/src/pjsip-simple/presence.c
+++ b/pjsip/src/pjsip-simple/presence.c
@@ -41,8 +41,7 @@ static struct pjsip_module mod_presence =
NULL, NULL, /* prev, next. */
{ "mod-presence", 12 }, /* Name. */
-1, /* Id */
- PJSIP_MOD_PRIORITY_APPLICATION-1, /* Priority */
- NULL, /* User data. */
+ PJSIP_MOD_PRIORITY_DIALOG_USAGE,/* Priority */
NULL, /* load() */
NULL, /* start() */
NULL, /* stop() */