aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-25 16:22:07 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-25 16:22:07 +0000
commit9c435dda79d5e9608ab446151502b193391d84e9 (patch)
tree840f1e9cbe09b79bb59063bae226af2ef02953da
parent75860448ac91c439f27537f1249ab494987cbcfe (diff)
Merged revisions 61798 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r61798 | russell | 2007-04-25 11:20:38 -0500 (Wed, 25 Apr 2007) | 3 lines 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.4@61799 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_zap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 5e7ead08e..3ceec72ab 100644
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -5298,7 +5298,7 @@ static struct ast_channel *zt_new(struct zt_pvt *i, int state, int startpbx, int
tmp->cid.cid_num = ast_strdup(i->cid_num);
tmp->cid.cid_name = ast_strdup(i->cid_name);
if (!ast_strlen_zero(i->cid_ani))
- tmp->cid.cid_ani = ast_strdup(i->cid_num);
+ tmp->cid.cid_ani = ast_strdup(i->cid_ani);
else
tmp->cid.cid_ani = ast_strdup(i->cid_num);
#else