[asterisk-commits] oej: trunk r363595 - in /trunk/apps: app_followme.c app_queue.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Apr 25 05:49:17 CDT 2012
Author: oej
Date: Wed Apr 25 05:49:13 2012
New Revision: 363595
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=363595
Log:
Use the DEFINED value for musicclass length.
For some reason, features.c has it's own definition. Should propably be fixed too.
Modified:
trunk/apps/app_followme.c
trunk/apps/app_queue.c
Modified: trunk/apps/app_followme.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_followme.c?view=diff&rev=363595&r1=363594&r2=363595
==============================================================================
--- trunk/apps/app_followme.c (original)
+++ trunk/apps/app_followme.c Wed Apr 25 05:49:13 2012
@@ -130,7 +130,7 @@
struct call_followme {
ast_mutex_t lock;
char name[AST_MAX_EXTENSION]; /*!< Name - FollowMeID */
- char moh[AST_MAX_CONTEXT]; /*!< Music On Hold Class to be used */
+ char moh[MAX_MUSICCLASS]; /*!< Music On Hold Class to be used */
char context[AST_MAX_CONTEXT]; /*!< Context to dial from */
unsigned int active; /*!< Profile is active (1), or disabled (0). */
int realtime; /*!< Cached from realtime */
Modified: trunk/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_queue.c?view=diff&rev=363595&r1=363594&r2=363595
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Wed Apr 25 05:49:13 2012
@@ -1096,7 +1096,7 @@
struct queue_ent {
struct call_queue *parent; /*!< What queue is our parent */
- char moh[80]; /*!< Name of musiconhold to be used */
+ char moh[MAX_MUSICCLASS]; /*!< Name of musiconhold to be used */
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 */
More information about the asterisk-commits
mailing list