From: Jeremy McNamara Date: Wed, 14 Jan 2004 06:28:26 +0000 (+0000) Subject: fix typo. Bug #837 X-Git-Tag: 0.7.1~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1c60de9c6b5f6c2e10ed653ecdb1e014121824b8;p=thirdparty%2Fasterisk.git fix typo. Bug #837 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2028 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/astmm.c b/astmm.c index 4738d7af37..4d6d3023f7 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;