From: Jeff Lenk Date: Tue, 5 Apr 2011 01:55:56 +0000 (-0500) Subject: FS-3228 --resolve X-Git-Tag: v1.2-rc1~118^2~157 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ee1a840cefe9e991901238296249aa3ee69ea2d5;p=thirdparty%2Ffreeswitch.git FS-3228 --resolve --- diff --git a/src/mod/applications/mod_enum/mod_enum.c b/src/mod/applications/mod_enum/mod_enum.c index d1bb286857..043dbab16f 100644 --- a/src/mod/applications/mod_enum/mod_enum.c +++ b/src/mod/applications/mod_enum/mod_enum.c @@ -164,6 +164,7 @@ static switch_status_t load_config(void) if(buf[data_sz - 1] != 0) { buf[data_sz] = 0; } + switch_replace_char(buf, ' ', 0, SWITCH_FALSE); /* only use the first entry ex "192.168.1.1 192.168.1.2" */ globals.server = buf; } }