]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add string to url
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 10 May 2012 14:48:33 +0000 (09:48 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 10 May 2012 14:51:07 +0000 (09:51 -0500)
src/mod/xml_int/mod_xml_scgi/mod_xml_scgi.c

index 687ec3aeb9a1a5872f5d0ccc7e46f67a5d3447cf..f2dbc61ee99754b816808d59742bafbfdfbad469 100644 (file)
@@ -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);