Fix syntax error in gzlib.c.
This commit is contained in:
parent
2bd5bd78a6
commit
04afd39fcc
2
gzlib.c
2
gzlib.c
@ -186,7 +186,7 @@ local gzFile gz_open(path, fd, mode)
|
|||||||
|
|
||||||
/* save the path name for error messages */
|
/* save the path name for error messages */
|
||||||
# define WPATH "<widepath>"
|
# define WPATH "<widepath>"
|
||||||
state->path = malloc(strlen(fd == -2 ? WPATH : (path) + 1);
|
state->path = malloc(strlen(fd == -2 ? WPATH : path) + 1);
|
||||||
if (state->path == NULL) {
|
if (state->path == NULL) {
|
||||||
free(state);
|
free(state);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user