Summary: | ASTERISK-03175: Queue requires an argument | ||
Reporter: | ac931274 (ac931274) | Labels: | |
Date Opened: | 2005-01-04 04:11:57.000-0600 | Date Closed: | 2008-01-15 15:19:44.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_queue |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | A stray ! has appeared in the source code. From the latest CVS head when you pass any call to a queue it reports that the queue command requires an argument. It appears that Dennis Persson has located this problem and using the following patch will fix it. ****** ADDITIONAL INFORMATION ****** 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; } | ||
Comments: | By: Clod Patry (junky) 2005-01-04 06:33:49.000-0600 Please attach your patch as a .diff.txt file. Also, please read the bugs guidelines before reporting a bug. Do you have disclaimer on file? And please specify the version, cause with CVS-HEAD-01/02/05-01:12:19, i don't have the same thing as you. By: Mark Spencer (markster) 2005-01-04 08:34:19.000-0600 Fixed in CVS head. Thanks! By: Digium Subversion (svnbot) 2008-01-15 15:19:44.000-0600 Repository: asterisk Revision: 4657 U trunk/apps/app_queue.c ------------------------------------------------------------------------ r4657 | markster | 2008-01-15 15:19:43 -0600 (Tue, 15 Jan 2008) | 2 lines Fix silly extra ! in app_queue (bug ASTERISK-3175) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=4657 |