diff options
author | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-01-14 06:28:26 +0000 |
---|---|---|
committer | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-01-14 06:28:26 +0000 |
commit | 3db13c123a811ecdf45193e607093a9f8d0d4fa8 (patch) | |
tree | 949589c8d70de11ee4c773cfcfadd48a0cee045d /astmm.c | |
parent | 7d4ccdc4f21e8f7f6f8b9b5296063452803be9db (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-x | astmm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |