From: Anthony Minessale Date: Thu, 19 Jan 2012 00:17:59 +0000 (-0600) Subject: FS-3819 --resolve regression from FS-3762 10dfc377 feeding NULL string to printf... X-Git-Tag: v1.2-rc1~19^2~1^2~32^2~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cba6ee19ee91aa8914997fa374405e89efe281d;p=thirdparty%2Ffreeswitch.git FS-3819 --resolve regression from FS-3762 10dfc377 feeding NULL string to printf again --- diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index ecec17a6ee..a16b5b9a15 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -2352,7 +2352,7 @@ static void parse_gateways(sofia_profile_t *profile, switch_xml_t gateways_tag) *retry_seconds = "30", *timeout_seconds = "60", *from_user = "", *from_domain = NULL, *outbound_proxy = NULL, *register_proxy = NULL, *contact_host = NULL, - *contact_params = NULL, *params = NULL, *register_transport = NULL, + *contact_params = "", *params = NULL, *register_transport = NULL, *reg_id = NULL, *str_rfc_5626 = ""; if (!context) {