mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
This typo has been here since 1.4 forked. It has been the source of heartburn to many a dialplan/CDR programmer.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@67073 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -749,7 +749,7 @@ static void set_one_cid(struct ast_cdr *cdr, struct ast_channel *c)
|
||||
int ast_cdr_setcid(struct ast_cdr *cdr, struct ast_channel *c)
|
||||
{
|
||||
for (; cdr; cdr = cdr->next) {
|
||||
if (ast_test_flag(cdr, AST_CDR_FLAG_LOCKED))
|
||||
if (!ast_test_flag(cdr, AST_CDR_FLAG_LOCKED))
|
||||
set_one_cid(cdr, c);
|
||||
}
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user