diff options
author | James Golovich <james@gnuinter.net> | 2004-06-13 19:45:59 +0000 |
---|---|---|
committer | James Golovich <james@gnuinter.net> | 2004-06-13 19:45:59 +0000 |
commit | 800ad7f7278ab8da93429948a152bea2740de077 (patch) | |
tree | 5eab810dccb1a95435a9ea93a56c893058a5df99 | |
parent | fd70e7920e9d7d00d91c8c0f392db1a4799dc677 (diff) |
Use ast_strlen_zero instead of &id in app_queue.c (Thanks folsson)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-x | 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 86047fdbe..fbe83b145 100755 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -1859,7 +1859,7 @@ static int manager_queues_status( struct mansession *s, struct message *m ) time(&now); ast_mutex_lock(&qlock); q = queues; - if (id && &id) { + if (id && !ast_strlen_zero(id)) { snprintf(idText,256,"ActionID: %s\r\n",id); } while(q) { |