mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Add new app
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@858 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		
							
								
								
									
										10
									
								
								asterisk.c
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								asterisk.c
									
									
									
									
									
								
							| @@ -1191,11 +1191,13 @@ int main(int argc, char *argv[]) | ||||
| 		ast_verbose("[ Reading Master Configuration ]"); | ||||
| 	ast_readconfig(); | ||||
|  | ||||
| 	if (el_hist == NULL || el == NULL) | ||||
| 		ast_el_initialize(); | ||||
| 	if (option_console) { | ||||
|                 if (el_hist == NULL || el == NULL) | ||||
|                         ast_el_initialize(); | ||||
|  | ||||
| 	if (strlen(filename)) | ||||
| 		ast_el_read_history(filename); | ||||
|                 if (strlen(filename)) | ||||
|                         ast_el_read_history(filename); | ||||
| 	} | ||||
|  | ||||
| 	if (ast_tryconnect()) { | ||||
| 		/* One is already running */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user