mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-11-03 20:38:59 +00:00 
			
		
		
		
	Deprecate emailtitle since emailsubject is more powerful.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3384 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		@@ -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"))) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user