diff options
author | citats <citats@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-02-27 04:32:54 +0000 |
---|---|---|
committer | citats <citats@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-02-27 04:32:54 +0000 |
commit | b65ee3af4aa9102e07bf1dfde29d426f29c38a46 (patch) | |
tree | c703bf92e9b0c0a3500b67b639ea56b3ad8abd4c /apps/app_queue.c | |
parent | f0a93508bfc69d4e17a89ceb68ebca06293fb7f3 (diff) |
Get rid of compiler warnings when calling ast_queue_log
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2257 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_queue.c')
-rwxr-xr-x | apps/app_queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index ac6fc3ae5..eee390cbd 100755 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -833,7 +833,7 @@ static int try_calling(struct queue_ent *qe, char *options, char *announceoverri if (res2) { /* Agent must have hung up */ ast_log(LOG_WARNING, "Agent on %s hungup on the customer. They're going to be pissed.\n", peer->name); - ast_queue_log(queuename, qe->chan->uniqueid, peer->name, "AGENTDUMP", ""); + ast_queue_log(queuename, qe->chan->uniqueid, peer->name, "AGENTDUMP", "%s", ""); ast_hangup(peer); return -1; } @@ -844,7 +844,7 @@ static int try_calling(struct queue_ent *qe, char *options, char *announceoverri /* Make sure channels are compatible */ res = ast_channel_make_compatible(qe->chan, peer); if (res < 0) { - ast_queue_log(queuename, qe->chan->uniqueid, peer->name, "SYSCOMPAT", ""); + ast_queue_log(queuename, qe->chan->uniqueid, peer->name, "SYSCOMPAT", "%s", ""); ast_log(LOG_WARNING, "Had to drop call because I couldn't make %s compatible with %s\n", qe->chan->name, peer->name); ast_hangup(peer); return -1; |