From e9a50d1f15e4b92d178f21ca7b8563e005b26049 Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Mon, 20 Aug 2007 16:18:55 +0000 Subject: [PATCH] Merged revisions 80049 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r80049 | mmichelson | 2007-08-20 11:17:43 -0500 (Mon, 20 Aug 2007) | 4 lines Found a pointless ternary if. member->dynamic was set to 1 and has no opportunity to change between then and this line, so "dynamic" will ALWAYS be output. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80050 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_queue.c b/apps/app_queue.c index 1908454da2..b65ec0cfb1 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -3121,7 +3121,7 @@ static int add_to_queue(const char *queuename, const char *interface, const char "Status: %d\r\n" "Paused: %d\r\n", q->name, new_member->interface, new_member->membername, - new_member->dynamic ? "dynamic" : "static", + "dynamic", new_member->penalty, new_member->calls, (int) new_member->lastcall, new_member->status, new_member->paused);