From: Mark Spencer Date: Wed, 7 Jul 2004 12:42:44 +0000 (+0000) Subject: Deprecate emailtitle since emailsubject is more powerful. X-Git-Tag: 1.0.0-rc1~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52549b25cd8ee6e313191cb2e5a11fb76870583d;p=thirdparty%2Fasterisk.git Deprecate emailtitle since emailsubject is more powerful. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3384 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index e59de213b6..911924057b 100755 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -4408,8 +4408,10 @@ static int load_config(void) strncpy(fromstring,s,sizeof(fromstring)-1); if ((s=ast_variable_retrieve(cfg, "general", "charset"))) strncpy(charset,s,sizeof(charset)-1); - if ((s=ast_variable_retrieve(cfg, "general", "emailtitle"))) + if ((s=ast_variable_retrieve(cfg, "general", "emailtitle"))) { + ast_log(LOG_NOTICE, "Keyword 'emailtitle' is DEPRECATED, please use 'emailsubject' instead.\n"); strncpy(emailtitle,s,sizeof(emailtitle)-1); + } if ((s=ast_variable_retrieve(cfg, "general", "emailsubject"))) emailsubject = strdup(s); if ((s=ast_variable_retrieve(cfg, "general", "emailbody"))) {