diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-04-25 16:20:38 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-04-25 16:20:38 +0000 |
commit | 16ed3051f748e190ab73a2e326c958af9ab3e9a6 (patch) | |
tree | c10b987604d5555d526d675b229826bf05e846a2 /channels/chan_zap.c | |
parent | 2b4c20088ff86fceab51a734440de475489f680b (diff) |
Fix a typo where cid_num got copied instead of cid_ani.
(issue #9587, reported and patched by xrg)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@61798 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_zap.c')
-rw-r--r-- | channels/chan_zap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 0de98e70b..755e80661 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -5281,7 +5281,7 @@ static struct ast_channel *zt_new(struct zt_pvt *i, int state, int startpbx, int if (!ast_strlen_zero(i->cid_name)) tmp->cid.cid_name = strdup(i->cid_name); if (!ast_strlen_zero(i->cid_ani)) - tmp->cid.cid_ani = strdup(i->cid_num); + tmp->cid.cid_ani = strdup(i->cid_ani); else if (!ast_strlen_zero(i->cid_num)) tmp->cid.cid_ani = strdup(i->cid_num); #else |