diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2012-03-18 14:25:00 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2012-03-18 14:25:00 -0700 |
commit | 04afd39fcc753e2f1369cb471cb6592ea5946546 (patch) | |
tree | 9d8e06082233bf1da65fed292095d1957744c3a2 /gzlib.c | |
parent | 2bd5bd78a6f76553c38ab3a37e5b08b6c5f1610a (diff) | |
download | zlib-04afd39fcc753e2f1369cb471cb6592ea5946546.tar.gz |
Fix syntax error in gzlib.c.
Diffstat (limited to 'gzlib.c')
-rw-r--r-- | gzlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |