aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_rpt.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-14 19:09:13 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-14 19:09:13 +0000
commit8d3b770c99c967d6509b60a915f3aafdbf5cc9ff (patch)
tree6de70a33b069a16752c14988b552873d517ed282 /apps/app_rpt.c
parent719fb455571d9a2dddda95a457b98d466e55b81a (diff)
update to reflect conversion of the accountcode to use stringfields (issue #6722)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12961 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_rpt.c')
-rw-r--r--apps/app_rpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_rpt.c b/apps/app_rpt.c
index 05abdf095..24569daf5 100644
--- a/apps/app_rpt.c
+++ b/apps/app_rpt.c
@@ -2010,7 +2010,7 @@ struct ast_channel *mychannel,*genchannel;
strncpy(mychannel->exten, myrpt->exten, sizeof(mychannel->exten) - 1);
strncpy(mychannel->context, myrpt->ourcontext, sizeof(mychannel->context) - 1);
if (myrpt->acctcode)
- strncpy(mychannel->accountcode, myrpt->acctcode, sizeof(mychannel->accountcode) - 1);
+ ast_string_field_set(mychannel, accountcode, myrpt->acctcode);
mychannel->priority = 1;
ast_channel_undefer_dtmf(mychannel);
if (ast_pbx_start(mychannel) < 0)