[asterisk-commits] kharwell: trunk r412075 - in /trunk: ./ res/res_pjsip_pubsub.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Apr 10 16:10:49 CDT 2014
Author: kharwell
Date: Thu Apr 10 16:10:46 2014
New Revision: 412075
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=412075
Log:
res_pjsip_pubsub: Set the body generation result to 0 for a valid path
The result of the "ast_sip_pubsub_generate_body_content" was not
set/initialized. Consequently, the nominal path potentially returned
an invalid value, thus not sending mwi notifications.
........
Merged revisions 412074 from http://svn.asterisk.org/svn/asterisk/branches/12
Modified:
trunk/ (props changed)
trunk/res/res_pjsip_pubsub.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.
Modified: trunk/res/res_pjsip_pubsub.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_pjsip_pubsub.c?view=diff&rev=412075&r1=412074&r2=412075
==============================================================================
--- trunk/res/res_pjsip_pubsub.c (original)
+++ trunk/res/res_pjsip_pubsub.c Thu Apr 10 16:10:46 2014
@@ -1176,7 +1176,7 @@
{
struct ast_sip_pubsub_body_supplement *supplement;
struct ast_sip_pubsub_body_generator *generator;
- int res;
+ int res = 0;
void *body;
generator = find_body_generator_type_subtype(type, subtype);
More information about the asterisk-commits
mailing list