Fix silly extra ! in app_queue (bug #3238)
authorMark Spencer <markster@digium.com>
Tue, 4 Jan 2005 14:39:24 +0000 (14:39 +0000)
committerMark Spencer <markster@digium.com>
Tue, 4 Jan 2005 14:39:24 +0000 (14:39 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4657 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index 38a550f..c1b89d6 100755 (executable)
@@ -1925,7 +1925,7 @@ static int queue_exec(struct ast_channel *chan, void *data)
        /* Our queue entry */
        struct queue_ent qe;
        
        /* Our queue entry */
        struct queue_ent qe;
        
-       if (!data || !ast_strlen_zero(data)) {
+       if (!data || ast_strlen_zero(data)) {
                ast_log(LOG_WARNING, "Queue requires an argument: queuename[|options[|URL][|announceoverride][|timeout]]\n");
                return -1;
        }
                ast_log(LOG_WARNING, "Queue requires an argument: queuename[|options[|URL][|announceoverride][|timeout]]\n");
                return -1;
        }