mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-15 11:29:56 +00:00
tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12910 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
bacd380fe1
commit
fbb5c1fbd2
@ -2589,7 +2589,7 @@ SWITCH_STANDARD_API(show_function)
|
|||||||
if (end_of(command) == 's') {
|
if (end_of(command) == 's') {
|
||||||
end_of(command) = '\0';
|
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)) {
|
} else if (!strncasecmp(command, "module", 6)) {
|
||||||
if (argv[1]) {
|
if (argv[1]) {
|
||||||
sprintf(sql, "select distinct type, name, key, filename from interfaces where key = '%s' order by type,name", argv[1]);
|
sprintf(sql, "select distinct type, name, key, filename from interfaces where key = '%s' order by type,name", argv[1]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user