summaryrefslogtreecommitdiff
path: root/channel.c
diff options
context:
space:
mode:
authorBJ Weschke <bweschke@btwtech.com>2006-01-16 17:37:44 +0000
committerBJ Weschke <bweschke@btwtech.com>2006-01-16 17:37:44 +0000
commit3854a2438eb6d2c3da025b56a6356b9f8f2675b9 (patch)
tree80f337eb9a8d919baeff96278917fd2719df4c14 /channel.c
parentfa07ae94ec5829b8c8aa2b22a1f0d586eafd835e (diff)
Spelling corrections (mostly in comments and doxygen areas) #6249
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8100 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channel.c')
-rw-r--r--channel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/channel.c b/channel.c
index 4331e789b..928776cdd 100644
--- a/channel.c
+++ b/channel.c
@@ -484,7 +484,7 @@ int ast_best_codec(int fmts)
};
- /* Find the first prefered codec in the format given */
+ /* Find the first preferred codec in the format given */
for (x=0; x < (sizeof(prefs) / sizeof(prefs[0]) ); x++)
if (fmts & prefs[x])
return prefs[x];
@@ -896,7 +896,7 @@ void ast_channel_free(struct ast_channel *chan)
if(chan->music_state)
ast_moh_cleanup(chan);
- /* Free translatosr */
+ /* Free translators */
if (chan->readtrans)
ast_translator_free_path(chan->readtrans);
if (chan->writetrans)
@@ -2907,7 +2907,7 @@ int ast_do_masquerade(struct ast_channel *original)
manager_event(EVENT_FLAG_CALL, "Rename", "Oldname: %s\r\nNewname: %s\r\nUniqueid: %s\r\n", newn, masqn, clone->uniqueid);
manager_event(EVENT_FLAG_CALL, "Rename", "Oldname: %s\r\nNewname: %s\r\nUniqueid: %s\r\n", orig, newn, original->uniqueid);
- /* Swap the technlogies */
+ /* Swap the technologies */
t = original->tech;
original->tech = clone->tech;
clone->tech = t;