[Freeswitch-svn] [commit] r1886 - freeswitch/trunk/src/mod/applications/mod_commands
Freeswitch SVN
anthm at freeswitch.org
Fri Jul 14 17:16:01 EDT 2006
Author: anthm
Date: Fri Jul 14 17:16:01 2006
New Revision: 1886
Modified:
freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c
Log:
fix printf args
Modified: freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c (original)
+++ freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c Fri Jul 14 17:16:01 2006
@@ -208,10 +208,10 @@
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");
More information about the Freeswitch-svn
mailing list