aboutsummaryrefslogtreecommitdiffstats
path: root/pbx/dundi-parser.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-25 14:44:50 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-25 14:44:50 +0000
commit470f688a28975e63c0df4ffdb8a0ac490f4cf3d9 (patch)
treea306715b687622ba9fa6548dc30e79f9c1e1b057 /pbx/dundi-parser.c
parent6b11ab9b13141b94402e953c33feebcc2e81f542 (diff)
Merged revisions 46200 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r46200 | kpfleming | 2006-10-25 09:32:08 -0500 (Wed, 25 Oct 2006) | 2 lines apparently developers are still not aware that they should be use ast_copy_string instead of strncpy... fix up many more users, and fix some bugs in the process ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46201 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx/dundi-parser.c')
-rw-r--r--pbx/dundi-parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/dundi-parser.c b/pbx/dundi-parser.c
index 786f0a2ac..14ef9e740 100644
--- a/pbx/dundi-parser.c
+++ b/pbx/dundi-parser.c
@@ -129,7 +129,7 @@ static void dump_string(char *output, int maxlen, void *value, int len)
maxlen--;
if (maxlen > len)
maxlen = len;
- strncpy(output,value, maxlen);
+ strncpy(output, value, maxlen);
output[maxlen] = '\0';
}