Sfoglia il codice sorgente

Fix build break

master
Arun Prakash Jana 5 anni fa
parent
commit
f3c4dae1dd
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: A75979F35C080412
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/nnn.c

+ 1
- 1
src/nnn.c Vedi File

@@ -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;


Loading…
Annulla
Salva