[Asterisk-cvs] asterisk/apps app_queue.c,1.47,1.48
citats at lists.digium.com
citats at lists.digium.com
Thu Feb 26 23:43:39 CST 2004
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv10706/apps
Modified Files:
app_queue.c
Log Message:
Get rid of compiler warnings when calling ast_queue_log
Index: app_queue.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_queue.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- app_queue.c 23 Feb 2004 04:15:04 -0000 1.47
+++ app_queue.c 27 Feb 2004 04:32:54 -0000 1.48
@@ -833,7 +833,7 @@
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 @@
/* 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;
More information about the svn-commits
mailing list