FS-6250 fix regression from 7efeabbd88, don't discrimiate against people that have s as the first character in their user names

This commit is contained in:
Brian West 2014-02-24 05:52:57 -06:00
parent 1c9604e9d0
commit 7d2456ea27
1 changed files with 1 additions and 1 deletions

View File

@ -3123,7 +3123,7 @@ SWITCH_DECLARE(int) switch_split_user_domain(char *in, char **user, char **domai
if (!strncasecmp(in, "sip", 3)) {
in += 3;
while(*in == ':' || *in == 's') in++;
while(*in == ':') in++;
}
u = in;