FS-6250 fix regression from 7efeabbd88e81ee368de6ced32fed06c8035097b, 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 committed by Anthony Minessale
parent aabf813ae1
commit e8c163c1ee

View File

@ -3112,7 +3112,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;