fix printf args

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1886 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-07-14 21:16:01 +00:00
parent f45ecee214
commit c7a4c4a1dc
1 changed files with 2 additions and 2 deletions

View File

@ -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");