dect
/
asterisk
Archived
13
0
Fork 0

Pass format string

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4079 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
citats 2004-10-24 06:44:37 +00:00
parent 081dde2250
commit 0ddc4d30dd
4 changed files with 6 additions and 6 deletions

View File

@ -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 */

View File

@ -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)

View File

@ -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)

View File

@ -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)