提交 e2f53b67 编写于 作者: D Dr. Stephen Henson

correct error code

上级 797c61aa
...@@ -156,7 +156,7 @@ int BUF_MEM_grow_clean(BUF_MEM *str, size_t len) ...@@ -156,7 +156,7 @@ int BUF_MEM_grow_clean(BUF_MEM *str, size_t len)
/* This limit is sufficient to ensure (len+3)/3*4 < 2**31 */ /* This limit is sufficient to ensure (len+3)/3*4 < 2**31 */
if (len > LIMIT_BEFORE_EXPANSION) if (len > LIMIT_BEFORE_EXPANSION)
{ {
BUFerr(BUF_F_BUF_MEM_GROW,ERR_R_MALLOC_FAILURE); BUFerr(BUF_F_BUF_MEM_GROW_CLEAN,ERR_R_MALLOC_FAILURE);
return 0; return 0;
} }
n=(len+3)/3*4; n=(len+3)/3*4;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册