[asterisk-commits] russell: branch 1.8 r317336 - /branches/1.8/apps/app_queue.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 5 14:56:02 CDT 2011


Author: russell
Date: Thu May  5 14:55:58 2011
New Revision: 317336

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=317336
Log:
Increase buffer size to be PATH_MAX for a path.

(closes issue #19239)
Reported by: byronclark
Patches:
      queue_announce_length.patch uploaded by byronclark (license 1200)

Modified:
    branches/1.8/apps/app_queue.c

Modified: branches/1.8/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/apps/app_queue.c?view=diff&rev=317336&r1=317335&r2=317336
==============================================================================
--- branches/1.8/apps/app_queue.c (original)
+++ branches/1.8/apps/app_queue.c Thu May  5 14:55:58 2011
@@ -999,7 +999,7 @@
 struct queue_ent {
 	struct call_queue *parent;             /*!< What queue is our parent */
 	char moh[80];                          /*!< Name of musiconhold to be used */
-	char announce[80];                     /*!< Announcement to play for member when call is answered */
+	char announce[PATH_MAX];               /*!< Announcement to play for member when call is answered */
 	char context[AST_MAX_CONTEXT];         /*!< Context when user exits queue */
 	char digits[AST_MAX_EXTENSION];        /*!< Digits entered while in queue */
 	int valid_digits;                      /*!< Digits entered correspond to valid extension. Exited */




More information about the asterisk-commits mailing list