aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranthm <anthm@f38db490-d61c-443f-a65b-d21fe96a405b>2004-10-27 03:33:14 +0000
committeranthm <anthm@f38db490-d61c-443f-a65b-d21fe96a405b>2004-10-27 03:33:14 +0000
commitcc209debe27f6b939287ac2de1efea9a79247d6b (patch)
treec5965d278cfbbc7c4dedebefeb1efba485f488a8
parent64df6364cba693b131c095dfec0b9317e6a579cb (diff)
rollback stupid code
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4109 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xcdr.c1
-rwxr-xr-xinclude/asterisk/cdr.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/cdr.c b/cdr.c
index ebb3af1bb..328a20b51 100755
--- a/cdr.c
+++ b/cdr.c
@@ -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;
diff --git a/include/asterisk/cdr.h b/include/asterisk/cdr.h
index 6c0d12319..807ad6419 100755
--- a/include/asterisk/cdr.h
+++ b/include/asterisk/cdr.h
@@ -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;
};