提交 fbb5c1fb authored 作者: Mathieu Rene's avatar Mathieu Rene

tweak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12910 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 bacd380f
......@@ -2589,7 +2589,7 @@ SWITCH_STANDARD_API(show_function)
if (end_of(command) == 's') {
end_of(command) = '\0';
}
sprintf(sql, "select type, name, key from interfaces where key = '%s' order by type,name", command);
sprintf(sql, "select type, name, key from interfaces where type = '%s' order by type,name", command);
} else if (!strncasecmp(command, "module", 6)) {
if (argv[1]) {
sprintf(sql, "select distinct type, name, key, filename from interfaces where key = '%s' order by type,name", argv[1]);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论