提交 39ff276c authored 作者: Anthony Minessale's avatar Anthony Minessale

nm

上级 4f429432
...@@ -1556,13 +1556,13 @@ static switch_status_t parse_command(listener_t *listener, switch_event_t **even ...@@ -1556,13 +1556,13 @@ static switch_status_t parse_command(listener_t *listener, switch_event_t **even
user = cmd + 9; user = cmd + 9;
if ((domain_name = strchr(user, '@'))) {
*domain_name++ = '\0';
}
if ((pass = strchr(user, ':'))) { if ((pass = strchr(user, ':'))) {
*pass++ = '\0'; *pass++ = '\0';
} }
if ((domain_name = strchr(user, '@'))) {
*domain_name++ = '\0';
}
if (zstr(user) || zstr(domain_name)) { if (zstr(user) || zstr(domain_name)) {
switch_snprintf(reply, reply_len, "-ERR invalid"); switch_snprintf(reply, reply_len, "-ERR invalid");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论