Pass format string
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
e14ae8b10b
commit
8009d53690
|
@ -534,12 +534,12 @@ AST_MUTEX_DEFINE_STATIC(dpcache_lock);
|
|||
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 */
|
||||
|
|
|
@ -7125,7 +7125,7 @@ static void *do_idle_thread(void *vchan)
|
|||
|
||||
static void zt_pri_message(char *s)
|
||||
{
|
||||
ast_verbose(s);
|
||||
ast_verbose("%s", s);
|
||||
}
|
||||
|
||||
static void zt_pri_error(char *s)
|
||||
|
|
|
@ -32,7 +32,7 @@ static int oframes = 0;
|
|||
|
||||
static void internaloutput(const char *str)
|
||||
{
|
||||
printf(str);
|
||||
fputs(str, stdout);
|
||||
}
|
||||
|
||||
static void internalerror(const char *str)
|
||||
|
|
|
@ -249,12 +249,12 @@ static int dundi_xmit(struct dundi_packet *pack);
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue