mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	codecs.conf really shouldn't be mandatory.. it never had been before, so let's go back to being optional.
A big "thank you" to pnlarsson on IRC for allowing me access to his system to debug this. Closes issue #11584. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@94541 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -256,7 +256,7 @@ static int parse_config(int reload) | ||||
| 	struct ast_flags config_flags = { reload ? CONFIG_FLAG_FILEUNCHANGED : 0 }; | ||||
| 	struct ast_config *cfg = ast_config_load("codecs.conf", config_flags); | ||||
| 	if (cfg == NULL) | ||||
| 		return -1; | ||||
| 		return 0; | ||||
| 	if (cfg == CONFIG_STATUS_FILEUNCHANGED) | ||||
| 		return 0; | ||||
| 	for (var = ast_variable_browse(cfg, "plc"); var; var = var->next) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user