mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Merge the dialplan_aesthetics branch. Most of this patch simply converts applications
using old methods of parsing arguments to using the standard macros. However, the big change is that the really old way of specifying application and arguments separated by a comma will no longer work (e.g. NoOp,foo|bar). Instead, the way that has been recommended since long before 1.0 will become the only method available (e.g. NoOp(foo,bar). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76703 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -7465,8 +7465,8 @@ static int vmauthenticate(struct ast_channel *chan, void *data) | ||||
| 	 | ||||
| 	if (s) { | ||||
| 		s = ast_strdupa(s); | ||||
| 		user = strsep(&s, "|"); | ||||
| 		options = strsep(&s, "|"); | ||||
| 		user = strsep(&s, ","); | ||||
| 		options = strsep(&s, ","); | ||||
| 		if (user) { | ||||
| 			s = user; | ||||
| 			user = strsep(&s, "@"); | ||||
| @@ -8159,7 +8159,7 @@ static int load_config(void) | ||||
| 			stringp = ast_strdupa(s); | ||||
| 			for (x = 0 ; x < MAX_NUM_CID_CONTEXTS ; x++){ | ||||
| 				if (!ast_strlen_zero(stringp)) { | ||||
| 					q = strsep(&stringp,","); | ||||
| 					q = strsep(&stringp, ","); | ||||
| 					while ((*q == ' ')||(*q == '\t')) /* Eat white space between contexts */ | ||||
| 						q++; | ||||
| 					ast_copy_string(cidinternalcontexts[x], q, sizeof(cidinternalcontexts[x])); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user