fix printf args
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1886 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
f45ecee214
commit
c7a4c4a1dc
|
@ -208,10 +208,10 @@ static switch_status_t show_function(char *cmd, switch_stream_handle_t *stream)
|
|||
sprintf (sql, "select * from interfaces where type = '%s'", cmd);
|
||||
}
|
||||
else if ( !strcmp(cmd,"calls")) {
|
||||
sprintf (sql, "select * from calls", cmd);
|
||||
sprintf (sql, "select * from calls");
|
||||
}
|
||||
else if ( !strcmp(cmd,"channels")) {
|
||||
sprintf (sql, "select * from channels", cmd);
|
||||
sprintf (sql, "select * from channels");
|
||||
}
|
||||
else {
|
||||
stream->write_function(stream, "Invalid interfaces type!\n");
|
||||
|
|
Loading…
Reference in New Issue