nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit f3c4dae1dd1568fa1aa529ad7e16e73dca03b309
parent 1224270104e2a2058998e1e2b71b32161e1d41d5
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Sun,  1 Mar 2020 18:34:59 +0530

Fix build break

Diffstat:
Msrc/nnn.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -2918,7 +2918,7 @@ static bool parsekvpair(kv **arr, char **envcpy, const uchar id, ushort *items) if (!maxitems) return FALSE; - *arr = malloc(maxitems * sizeof(kv)); + *arr = calloc(maxitems, sizeof(kv)); if (!arr) { xerror(); return FALSE;