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 | |
parent | 2bd5bd78a6f76553c38ab3a37e5b08b6c5f1610a (diff) | |
download | zlib-04afd39fcc753e2f1369cb471cb6592ea5946546.tar.gz zlib-04afd39fcc753e2f1369cb471cb6592ea5946546.tar.bz2 zlib-04afd39fcc753e2f1369cb471cb6592ea5946546.zip |
Fix syntax error in 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) | |||
186 | 186 | ||
187 | /* save the path name for error messages */ | 187 | /* save the path name for error messages */ |
188 | # define WPATH "<widepath>" | 188 | # define WPATH "<widepath>" |
189 | state->path = malloc(strlen(fd == -2 ? WPATH : (path) + 1); | 189 | state->path = malloc(strlen(fd == -2 ? WPATH : path) + 1); |
190 | if (state->path == NULL) { | 190 | if (state->path == NULL) { |
191 | free(state); | 191 | free(state); |
192 | return NULL; | 192 | return NULL; |