From: Anthony Minessale Date: Thu, 10 May 2012 14:48:33 +0000 (-0500) Subject: add string to url X-Git-Tag: v1.2.0~456 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e0db68d20be1a1e2d03c1e1d84182aece058776a;p=thirdparty%2Ffreeswitch.git add string to url --- diff --git a/src/mod/xml_int/mod_xml_scgi/mod_xml_scgi.c b/src/mod/xml_int/mod_xml_scgi/mod_xml_scgi.c index 687ec3aeb9..f2dbc61ee9 100644 --- a/src/mod/xml_int/mod_xml_scgi/mod_xml_scgi.c +++ b/src/mod/xml_int/mod_xml_scgi/mod_xml_scgi.c @@ -252,7 +252,7 @@ static switch_status_t do_config(void) binding->host = switch_core_strdup(globals.pool, host); binding->port = atoi(port); binding->vars_map = vars_map; - binding->url = switch_mprintf("scgi://%s:%s", host, port); + binding->url = switch_mprintf("scgi://%s:%s/%s", host, port, bname); if (bind_mask) { binding->bindings = switch_core_strdup(globals.pool, bind_mask);