From: Anthony Minessale Date: Fri, 14 Jul 2006 21:16:01 +0000 (+0000) Subject: fix printf args X-Git-Tag: v1.0-beta1~2522 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c7a4c4a1dc99c2a43c6de52d0d8f5f441c7da7f7;p=thirdparty%2Ffreeswitch.git fix printf args git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1886 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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");