From 49138460a306d68f791cfff539f1517a69b3f327 Mon Sep 17 00:00:00 2001 From: Brian West Date: Fri, 29 Mar 2013 17:55:50 -0500 Subject: [PATCH] fix --- src/mod/endpoints/mod_sofia/sofia.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 96a7182ff3..b4aefa95b1 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -3468,10 +3468,9 @@ switch_status_t config_sofia(sofia_config_t reload, char *profile_name) } else { mod_sofia_globals.rewrite_multicasted_fs_path = SWITCH_FALSE; } + } else if (!strcasecmp(var, "capture-server")) { + mod_sofia_globals.capture_server = switch_core_strdup(mod_sofia_globals.pool, val); } - else if (!strcasecmp(var, "capture-server")) { - mod_sofia_globals.capture_server = switch_core_strdup(mod_sofia_globals.pool, val); - } } }