From 04afd39fcc753e2f1369cb471cb6592ea5946546 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Sun, 18 Mar 2012 14:25:00 -0700 Subject: [PATCH] Fix syntax error in gzlib.c. --- gzlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gzlib.c b/gzlib.c index e31533b..e4908e0 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; -- GitLab