Mercurial > embed
diff libzip/lib/zip_new.c @ 56:056ee6b5913e
libzip: update to 1.3.0, closes #654
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 10 Oct 2017 20:43:12 +0200 |
parents | 2306f4b04790 |
children |
line wrap: on
line diff
--- a/libzip/lib/zip_new.c Fri Sep 22 14:07:40 2017 +0200 +++ b/libzip/lib/zip_new.c Tue Oct 10 20:43:12 2017 +0200 @@ -1,6 +1,6 @@ /* zip_new.c -- create and init struct zip - Copyright (C) 1999-2015 Dieter Baron and Thomas Klausner + Copyright (C) 1999-2016 Dieter Baron and Thomas Klausner This file is part of libzip, a library to manipulate ZIP archives. The authors can be contacted at <libzip@nih.at> @@ -52,7 +52,7 @@ return NULL; } - if ((za->names = _zip_hash_new(ZIP_HASH_TABLE_SIZE, error)) == NULL) { + if ((za->names = _zip_hash_new(error)) == NULL) { free(za); return NULL; } @@ -68,7 +68,7 @@ za->entry = NULL; za->nopen_source = za->nopen_source_alloc = 0; za->open_source = NULL; - za->tempdir = NULL; + za->progress = NULL; return za; }