Fix race in agent/masquerade

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1196 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-07-16 18:54:16 +00:00
parent cd16a399e5
commit 2984b40bc9
2 changed files with 3 additions and 0 deletions

View File

@@ -1811,6 +1811,7 @@ int ast_channel_masquerade(struct ast_channel *original, struct ast_channel *clo
not really safe not to XXX */
ast_queue_frame(original, &null, 0);
ast_queue_frame(clone, &null, 0);
ast_log(LOG_DEBUG, "Done planning to masquerade %s into the structure of %s\n", original->name, clone->name);
return 0;
}