diff --git a/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c b/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c index 7d6c357c04..b658b159d0 100644 --- a/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c +++ b/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c @@ -184,7 +184,7 @@ static switch_status_t do_config(void) url = val; } } else if (!strcasecmp(var, "gateway-credentials")) { - bind_cred = var; + bind_cred = val; } }