Fix syntax error in gzlib.c.

pull/10/head
Mark Adler 13 years ago
parent 2bd5bd78a6
commit 04afd39fcc
  1. 2
      gzlib.c

@ -186,7 +186,7 @@ local gzFile gz_open(path, fd, mode)
/* save the path name for error messages */
# 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) {
free(state);
return NULL;

Loading…
Cancel
Save