summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2011-05-15 12:13:24 +0000
committerBenny Prijono <bennylp@teluu.com>2011-05-15 12:13:24 +0000
commit713c495b6b57f7a0d63247e47964d4cc443458a7 (patch)
tree270b51283bbe252e0b3c0946f1a95faab226b6ac
parentf62260b273a5dda5be4e9611b70e3e1ab1ae286c (diff)
Fixed #1255: Unable to parse the short version of Event header (thanks Marcus Froeschl for the report)
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3565 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r--pjsip/src/pjsip-simple/evsub_msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pjsip/src/pjsip-simple/evsub_msg.c b/pjsip/src/pjsip-simple/evsub_msg.c
index 77e4b489..df2dd550 100644
--- a/pjsip/src/pjsip-simple/evsub_msg.c
+++ b/pjsip/src/pjsip-simple/evsub_msg.c
@@ -295,7 +295,7 @@ static pjsip_hdr* parse_hdr_sub_state( pjsip_parse_ctx *ctx )
*/
PJ_DEF(void) pjsip_evsub_init_parser(void)
{
- pjsip_register_hdr_parser( "Event", NULL,
+ pjsip_register_hdr_parser( "Event", "o",
&parse_hdr_event);
pjsip_register_hdr_parser( "Subscription-State", NULL,