mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
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
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user