Skip to content

Commit 04afd39

Browse files
committed
Fix syntax error in gzlib.c.
1 parent 2bd5bd7 commit 04afd39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gzlib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ local gzFile gz_open(path, fd, mode)
186186

187187
/* save the path name for error messages */
188188
# define WPATH "<widepath>"
189-
state->path = malloc(strlen(fd == -2 ? WPATH : (path) + 1);
189+
state->path = malloc(strlen(fd == -2 ? WPATH : path) + 1);
190190
if (state->path == NULL) {
191191
free(state);
192192
return NULL;

0 commit comments

Comments
 (0)