aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-08-28 20:13:32 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-08-28 20:13:32 +0000
commitcd8ab419b5d79bd506ca1329cb3474d22c845acf (patch)
tree83820b99cd05a8267ee94bfc16a30d59cd5bbf19
parent15404a50a1505789793fe3459587f76486dc864a (diff)
Modify comment to be a bit more accurate.
We have kept this comment around long enough, that it's pretty clear that we're keeping the code, because changing the code would require a pretty fundamental architectural shift. We've also taken criticism in some quarters, because it was believed that it was referring to the code being nasty. No, the code isn't nasty, just the operation itself is rather odd. Fixed for eternity (probably not). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@214701 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--main/channel.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/channel.c b/main/channel.c
index 3499b99a6..db4fd62c8 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -3792,10 +3792,10 @@ int ast_do_masquerade(struct ast_channel *original)
ast_log(LOG_DEBUG, "Actually Masquerading %s(%d) into the structure of %s(%d)\n",
clone->name, clone->_state, original->name, original->_state);
- /* XXX This is a seriously wacked out operation. We're essentially putting the guts of
- the clone channel into the original channel. Start by killing off the original
- channel's backend. I'm not sure we're going to keep this function, because
- while the features are nice, the cost is very high in terms of pure nastiness. XXX */
+ /* XXX This operation is a bit odd. We're essentially putting the guts of
+ * the clone channel into the original channel. Start by killing off the
+ * original channel's backend. While the features are nice, which is the
+ * reason we're keeping it, it's still awesomely weird. XXX */
/* We need the clone's lock, too */
ast_channel_lock(clone);