mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	general: Fix various typos.
ASTERISK-30089 #close Change-Id: I1f5db911fd05a3a211c522c13e990fa1d0e62275
This commit is contained in:
		
				
					committed by
					
						 George Joseph
						George Joseph
					
				
			
			
				
	
			
			
			
						parent
						
							b7599a380d
						
					
				
				
					commit
					7448443f21
				
			| @@ -297,7 +297,7 @@ int daemon(int, int);  /* defined in libresolv of all places */ | ||||
| #define NUM_MSGS 64 | ||||
|  | ||||
| /*! Displayed copyright tag */ | ||||
| #define COPYRIGHT_TAG "Copyright (C) 1999 - 2021, Sangoma Technologies Corporation and others." | ||||
| #define COPYRIGHT_TAG "Copyright (C) 1999 - 2022, Sangoma Technologies Corporation and others." | ||||
|  | ||||
| /*! \brief Welcome message when starting a CLI interface */ | ||||
| #define WELCOME_MESSAGE \ | ||||
| @@ -3571,7 +3571,7 @@ int main(int argc, char *argv[]) | ||||
| 	} | ||||
| 	ast_mainpid = getpid(); | ||||
|  | ||||
| 	/* Process command-line options that effect asterisk.conf load. */ | ||||
| 	/* Process command-line options that affect asterisk.conf load. */ | ||||
| 	while ((c = getopt(argc, argv, getopt_settings)) != -1) { | ||||
| 		switch (c) { | ||||
| 		case 'X': | ||||
| @@ -4082,7 +4082,7 @@ static void asterisk_daemon(int isroot, const char *runuser, const char *rungrou | ||||
|  | ||||
| 	load_astmm_phase_1(); | ||||
|  | ||||
| 	/* Check whether high prio was succesfully set by us or some | ||||
| 	/* Check whether high prio was successfully set by us or some | ||||
| 	 * other incantation. */ | ||||
| 	if (has_priority()) { | ||||
| 		ast_set_flag(&ast_options, AST_OPT_FLAG_HIGH_PRIORITY); | ||||
|   | ||||
| @@ -2525,7 +2525,7 @@ int ast_bridge_add_channel(struct ast_bridge *bridge, struct ast_channel *chan, | ||||
| 		if (ast_bridge_impart(bridge, yanked_chan, NULL, features, | ||||
| 			AST_BRIDGE_IMPART_CHAN_INDEPENDENT)) { | ||||
| 			/* It is possible for us to yank a channel and have some other | ||||
| 			 * thread start a PBX on the channl after we yanked it. In particular, | ||||
| 			 * thread start a PBX on the channel after we yanked it. In particular, | ||||
| 			 * this can theoretically happen on the ;2 of a Local channel if we | ||||
| 			 * yank it prior to the ;1 being answered. Make sure that it isn't | ||||
| 			 * executing a PBX before hanging it up. | ||||
|   | ||||
| @@ -6106,7 +6106,7 @@ struct ast_channel *__ast_request_and_dial(const char *type, struct ast_format_c | ||||
| 	} | ||||
|  | ||||
| 	/* | ||||
| 	 * I seems strange to set the CallerID on an outgoing call leg | ||||
| 	 * It seems strange to set the CallerID on an outgoing call leg | ||||
| 	 * to whom we are calling, but this function's callers are doing | ||||
| 	 * various Originate methods.  This call leg goes to the local | ||||
| 	 * user.  Once the local user answers, the dialplan needs to be | ||||
|   | ||||
| @@ -507,7 +507,7 @@ int ast_db_deltree(const char *family, const char *keytree) | ||||
|  | ||||
| 	ast_mutex_lock(&dblock); | ||||
| 	if (!ast_strlen_zero(prefix) && (sqlite3_bind_text(stmt, 1, prefix, -1, SQLITE_STATIC) != SQLITE_OK)) { | ||||
| 		ast_log(LOG_WARNING, "Could bind %s to stmt: %s\n", prefix, sqlite3_errmsg(astdb)); | ||||
| 		ast_log(LOG_WARNING, "Couldn't bind %s to stmt: %s\n", prefix, sqlite3_errmsg(astdb)); | ||||
| 		res = -1; | ||||
| 	} else if (sqlite3_step(stmt) != SQLITE_DONE) { | ||||
| 		ast_log(LOG_WARNING, "Couldn't execute stmt: %s\n", sqlite3_errmsg(astdb)); | ||||
| @@ -791,7 +791,7 @@ static char *handle_cli_database_show(struct ast_cli_entry *e, int cmd, struct a | ||||
|  | ||||
| 	ast_mutex_lock(&dblock); | ||||
| 	if (!ast_strlen_zero(prefix) && (sqlite3_bind_text(stmt, 1, prefix, -1, SQLITE_STATIC) != SQLITE_OK)) { | ||||
| 		ast_log(LOG_WARNING, "Could bind %s to stmt: %s\n", prefix, sqlite3_errmsg(astdb)); | ||||
| 		ast_log(LOG_WARNING, "Couldn't bind %s to stmt: %s\n", prefix, sqlite3_errmsg(astdb)); | ||||
| 		sqlite3_reset(stmt); | ||||
| 		ast_mutex_unlock(&dblock); | ||||
| 		return NULL; | ||||
| @@ -839,7 +839,7 @@ static char *handle_cli_database_showkey(struct ast_cli_entry *e, int cmd, struc | ||||
|  | ||||
| 	ast_mutex_lock(&dblock); | ||||
| 	if (!ast_strlen_zero(a->argv[2]) && (sqlite3_bind_text(showkey_stmt, 1, a->argv[2], -1, SQLITE_STATIC) != SQLITE_OK)) { | ||||
| 		ast_log(LOG_WARNING, "Could bind %s to stmt: %s\n", a->argv[2], sqlite3_errmsg(astdb)); | ||||
| 		ast_log(LOG_WARNING, "Couldn't bind %s to stmt: %s\n", a->argv[2], sqlite3_errmsg(astdb)); | ||||
| 		sqlite3_reset(showkey_stmt); | ||||
| 		ast_mutex_unlock(&dblock); | ||||
| 		return NULL; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user