[Asterisk-cvs] asterisk/apps app_voicemail.c,1.127,1.128

markster at lists.digium.com markster at lists.digium.com
Wed Jul 7 08:56:57 CDT 2004


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv28221/apps

Modified Files:
	app_voicemail.c 
Log Message:
Deprecate emailtitle since emailsubject is more powerful.


Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.127
retrieving revision 1.128
diff -u -d -r1.127 -r1.128
--- app_voicemail.c	7 Jul 2004 12:29:20 -0000	1.127
+++ app_voicemail.c	7 Jul 2004 12:42:44 -0000	1.128
@@ -4408,8 +4408,10 @@
 			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"))) {




More information about the svn-commits mailing list