Mercurial > dovecot > core-2.2
changeset 22030:ba2b3089a728
lib: Use t_malloc instead of t_malloc_no0
Broken in 4792d4bd
author | Aki Tuomi <aki.tuomi@dovecot.fi> |
---|---|
date | Fri, 12 May 2017 07:41:27 +0300 |
parents | 5bb79b92618a |
children | bfddaf8b8765 |
files | src/lib/strfuncs.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib/strfuncs.c Tue May 02 15:38:00 2017 +0300 +++ b/src/lib/strfuncs.c Fri May 12 07:41:27 2017 +0300 @@ -733,7 +733,7 @@ const char *dec2str(uintmax_t number) { - return dec2str_buf(t_malloc_no0(MAX_INT_STRLEN), number); + return dec2str_buf(t_malloc(MAX_INT_STRLEN), number); } char *dec2str_buf(char buffer[STATIC_ARRAY MAX_INT_STRLEN], uintmax_t number)