static void iax_debug_output(const char *data)
{
if (iaxdebug)
- ast_verbose(data);
+ ast_verbose("%s", data);
}
static void iax_error_output(const char *data)
{
- ast_log(LOG_WARNING, data);
+ ast_log(LOG_WARNING, "%s", data);
}
/* XXX We probably should use a mutex when working with this XXX */
static void zt_pri_message(char *s)
{
- ast_verbose(s);
+ ast_verbose("%s", s);
}
static void zt_pri_error(char *s)
static void internaloutput(const char *str)
{
- printf(str);
+ fputs(str, stdout);
}
static void internalerror(const char *str)
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)