提交 42cfedca authored 作者: Mathieu Rene's avatar Mathieu Rene

Fix strncasecmp length, thx woof

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14258 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 d8793904
......@@ -1801,7 +1801,7 @@ static switch_status_t parse_command(listener_t *listener, switch_event_t **even
} else {
switch_snprintf(reply, reply_len, "-ERR not controlling a session");
}
} else if (!strncasecmp(cmd, "nolinger", 6)) {
} else if (!strncasecmp(cmd, "nolinger", 8)) {
if (listener->session) {
switch_clear_flag_locked(listener, LFLAG_LINGER);
switch_snprintf(reply, reply_len, "+OK will not linger");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论