aboutsummaryrefslogtreecommitdiffstats
path: root/astmm.c
diff options
context:
space:
mode:
authorjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2004-01-14 06:28:26 +0000
committerjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2004-01-14 06:28:26 +0000
commit3db13c123a811ecdf45193e607093a9f8d0d4fa8 (patch)
tree949589c8d70de11ee4c773cfcfadd48a0cee045d /astmm.c
parent7d4ccdc4f21e8f7f6f8b9b5296063452803be9db (diff)
fix typo. Bug #837
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2028 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'astmm.c')
-rwxr-xr-xastmm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/astmm.c b/astmm.c
index 4738d7af3..4d6d3023f 100755
--- a/astmm.c
+++ b/astmm.c
@@ -211,7 +211,7 @@ char *__ast_strndup(const char *s, size_t n, const char *file, int lineno, const
len = strlen(s) + 1;
if (len > n)
len = n;
- ptr = __ast_alloc_region(len, FUNC_STRDUP, file, lineno, func);
+ ptr = __ast_alloc_region(len, FUNC_STRNDUP, file, lineno, func);
if (ptr)
strcpy(ptr, s);
return ptr;