rollback stupid code

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4109 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Anthony Minessale II
2004-10-27 03:33:14 +00:00
parent 827df5e987
commit a18f60f5e8
2 changed files with 0 additions and 2 deletions

1
cdr.c
View File

@@ -290,7 +290,6 @@ int ast_cdr_init(struct ast_cdr *cdr, struct ast_channel *c)
if (!ast_strlen_zero(cdr->channel))
ast_log(LOG_WARNING, "CDR already initialized on '%s'\n", chan);
strncpy(cdr->channel, c->name, sizeof(cdr->channel) - 1);
cdr->chan = c;
/* Grab source from ANI or normal Caller*ID */
if (c->cid.cid_ani)
num = c->cid.cid_ani;

View File

@@ -78,7 +78,6 @@ struct ast_cdr {
char uniqueid[32];
/* User field */
char userfield[AST_MAX_USER_FIELD];
struct ast_channel *chan;
struct ast_cdr *next;
};