mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 10:33:13 +00:00
docs: Fix various typos in main/
Found via `codespell -q 3 -S "./CREDITS" -L abd,asent,atleast,childrens,contentn,crypted,dne,durationm,exten,inout,leapyear,nd,oclock,offsetp,ot,parm,parms,requestor,ser,slanguage,slin,thirdparty,varn,varns,ues`
This commit is contained in:
@@ -297,7 +297,7 @@ struct ast_channel *ast_local_get_peer(struct ast_channel *ast)
|
||||
|
||||
found = p ? ao2_find(locals, p, 0) : NULL;
|
||||
if (!found) {
|
||||
/* ast is either not a local channel or it has alredy been hungup */
|
||||
/* ast is either not a local channel or it has already been hungup */
|
||||
return NULL;
|
||||
}
|
||||
ao2_lock(found);
|
||||
@@ -895,7 +895,7 @@ static struct local_pvt *local_alloc(const char *data, struct ast_stream_topolog
|
||||
*
|
||||
* This is a silly default because it represents state held by
|
||||
* the local channels. Unless local channel optimization is
|
||||
* disabled, the state will dissapear when the local channels
|
||||
* disabled, the state will disappear when the local channels
|
||||
* optimize out.
|
||||
*/
|
||||
ast_set_flag(&pvt->base, AST_UNREAL_MOH_INTERCEPT);
|
||||
|
Reference in New Issue
Block a user