add string to url

This commit is contained in:
Anthony Minessale 2012-05-10 09:48:33 -05:00
parent 154678b6c2
commit e0db68d20b
1 changed files with 1 additions and 1 deletions

View 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);