summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2012-04-25 10:49:13 +0000
committerOlle Johansson <oej@edvina.net>2012-04-25 10:49:13 +0000
commita8e755700eb2af6068846d219979fd716bcb3d32 (patch)
tree1e0c00610a7aa1e60a3982f928dd5d48eca0f83a /apps
parent7aa0c3c64bf90bbe32bd9b4f2ee8bf919fb0cdca (diff)
Use the DEFINED value for musicclass length.
For some reason, features.c has it's own definition. Should propably be fixed too. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@363595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r--apps/app_followme.c2
-rw-r--r--apps/app_queue.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_followme.c b/apps/app_followme.c
index 5afa978fb..99fb38f43 100644
--- a/apps/app_followme.c
+++ b/apps/app_followme.c
@@ -130,7 +130,7 @@ struct number {
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 */
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 10ef801d5..4ae4da68b 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -1096,7 +1096,7 @@ struct callattempt {
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 */