mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 10:33:13 +00:00
clarify comments (issue #5075)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6474 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2417,7 +2417,7 @@ int ast_channel_masquerade(struct ast_channel *original, struct ast_channel *clo
|
|||||||
usleep(1);
|
usleep(1);
|
||||||
ast_mutex_lock(&original->lock);
|
ast_mutex_lock(&original->lock);
|
||||||
}
|
}
|
||||||
ast_log(LOG_DEBUG, "Planning to masquerade %s into the structure of %s\n",
|
ast_log(LOG_DEBUG, "Planning to masquerade channel %s into the structure of %s\n",
|
||||||
clone->name, original->name);
|
clone->name, original->name);
|
||||||
if (original->masq) {
|
if (original->masq) {
|
||||||
ast_log(LOG_WARNING, "%s is already going to masquerade as %s\n",
|
ast_log(LOG_WARNING, "%s is already going to masquerade as %s\n",
|
||||||
@@ -2430,7 +2430,7 @@ int ast_channel_masquerade(struct ast_channel *original, struct ast_channel *clo
|
|||||||
clone->masqr = original;
|
clone->masqr = original;
|
||||||
ast_queue_frame(original, &null);
|
ast_queue_frame(original, &null);
|
||||||
ast_queue_frame(clone, &null);
|
ast_queue_frame(clone, &null);
|
||||||
ast_log(LOG_DEBUG, "Done planning to masquerade %s into the structure of %s\n", original->name, clone->name);
|
ast_log(LOG_DEBUG, "Done planning to masquerade channel %s into the structure of %s\n", clone->name, original->name);
|
||||||
res = 0;
|
res = 0;
|
||||||
}
|
}
|
||||||
ast_mutex_unlock(&clone->lock);
|
ast_mutex_unlock(&clone->lock);
|
||||||
|
Reference in New Issue
Block a user