[Asterisk-cvs] asterisk/pbx pbx_dundi.c,1.9,1.10
citats at lists.digium.com
citats at lists.digium.com
Sun Oct 24 02:40:55 CDT 2004
Update of /usr/cvsroot/asterisk/pbx
In directory mongoose.digium.com:/tmp/cvs-serv5555/pbx
Modified Files:
pbx_dundi.c
Log Message:
Pass format string
Index: pbx_dundi.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx/pbx_dundi.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- pbx_dundi.c 24 Oct 2004 06:04:48 -0000 1.9
+++ pbx_dundi.c 24 Oct 2004 06:44:37 -0000 1.10
@@ -249,12 +249,12 @@
static void dundi_debug_output(const char *data)
{
if (dundidebug)
- ast_verbose(data);
+ ast_verbose("%s", data);
}
static void dundi_error_output(const char *data)
{
- ast_log(LOG_WARNING, data);
+ ast_log(LOG_WARNING, "%s", data);
}
static int has_permission(struct permission *ps, char *cont)
More information about the svn-commits
mailing list