From a8e755700eb2af6068846d219979fd716bcb3d32 Mon Sep 17 00:00:00 2001 From: Olle Johansson Date: Wed, 25 Apr 2012 10:49:13 +0000 Subject: [PATCH] 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 --- apps/app_followme.c | 2 +- apps/app_queue.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/app_followme.c b/apps/app_followme.c index 5afa978fb3..99fb38f43f 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 10ef801d55..4ae4da68bc 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 */ -- 2.47.2