[Asterisk-Dev] app_queues.c CVS 1.108

Dennis Persson dennis.persson at camex.dk
Tue Jan 4 02:50:45 MST 2005


Hi,

 

I stumbled into an error, it seems that without this patch every time a user
calls a queue then (*) just complain about Queue requires an argument...

 

Regards,

 

Dennis Persson.

 

 

Index: app_queue.c

===================================================================

RCS file: /usr/cvsroot/asterisk/apps/app_queue.c,v

retrieving revision 1.108

diff -u -w -r1.108 app_queue.c

--- app_queue.c 3 Jan 2005 01:46:19 -0000       1.108

+++ app_queue.c 4 Jan 2005 09:07:55 -0000

@@ -1921,7 +1921,7 @@

        /* 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;

        }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20050104/dc2e445f/attachment.htm


More information about the asterisk-dev mailing list