]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Use ast_strlen_zero instead of &id in app_queue.c (Thanks folsson)
authorJames Golovich <james@gnuinter.net>
Sun, 13 Jun 2004 19:45:59 +0000 (19:45 +0000)
committerJames Golovich <james@gnuinter.net>
Sun, 13 Jun 2004 19:45:59 +0000 (19:45 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3200 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index 86047fdbed651292435e74fc363c3d2ad6f2a0ef..fbe83b145808e7a55b37817380b094a36cae9098 100755 (executable)
@@ -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) {