diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-20 16:17:43 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-20 16:17:43 +0000 |
commit | d9794a720a1c634ce2462b9a5fc2eb8dd8bfaf50 (patch) | |
tree | ec905ae3227632e241f9ebdae2a9618477d804a0 /apps/app_queue.c | |
parent | 74f852d683ef8e7770160a5ec3cc4b14c804c44c (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.4@80049 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r-- | apps/app_queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 7193296b9..a6f46ca23 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -2910,7 +2910,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); |