From c7a4c4a1dc99c2a43c6de52d0d8f5f441c7da7f7 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 14 Jul 2006 21:16:01 +0000 Subject: [PATCH] fix printf args git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1886 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_commands/mod_commands.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/applications/mod_commands/mod_commands.c b/src/mod/applications/mod_commands/mod_commands.c index fc5ab6a90a..2a2a3b7285 100644 --- a/src/mod/applications/mod_commands/mod_commands.c +++ b/src/mod/applications/mod_commands/mod_commands.c @@ -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");