summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */