From 7a370d7771b1becb9e447036aeb4c14a5dad7497 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 18 Jan 2012 17:45:48 -0600 Subject: [PATCH] FS-3819 --resolve regression from FS-3762 10dfc377 feeding NULL string to printf --- src/mod/endpoints/mod_sofia/sofia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 5f963f46ab..ecec17a6ee 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -2353,7 +2353,7 @@ static void parse_gateways(sofia_profile_t *profile, switch_xml_t gateways_tag) *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, - *reg_id = NULL, *str_rfc_5626 = NULL; + *reg_id = NULL, *str_rfc_5626 = ""; if (!context) { context = "default";