]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3819 --resolve regression from FS-3762 10dfc377 feeding NULL string to printf...
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 19 Jan 2012 00:17:59 +0000 (18:17 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 19 Jan 2012 00:17:59 +0000 (18:17 -0600)
src/mod/endpoints/mod_sofia/sofia.c

index ecec17a6ee6275dd0165ec64b6745bfd543d9776..a16b5b9a152630ea8c5d127e8b7c37be2302ca7f 100644 (file)
@@ -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) {