From: Mark Adler Date: Sun, 18 Mar 2012 21:25:00 +0000 (-0700) Subject: Fix syntax error in gzlib.c. X-Git-Tag: v1.2.7~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04afd39fcc753e2f1369cb471cb6592ea5946546;p=thirdparty%2Fzlib-ng.git Fix syntax error in gzlib.c. --- diff --git a/gzlib.c b/gzlib.c index e31533b74..e4908e003 100644 --- a/gzlib.c +++ b/gzlib.c @@ -186,7 +186,7 @@ local gzFile gz_open(path, fd, mode) /* save the path name for error messages */ # define WPATH "" - 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;