Use ast_strlen_zero instead of &id in app_queue.c (Thanks folsson)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3200 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
755562b1f8
commit
e160148695
|
@ -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