提交 04afd39f 编写于 作者: M Mark Adler

Fix syntax error in gzlib.c.

上级 2bd5bd78
...@@ -186,7 +186,7 @@ local gzFile gz_open(path, fd, mode) ...@@ -186,7 +186,7 @@ local gzFile gz_open(path, fd, mode)
/* save the path name for error messages */ /* save the path name for error messages */
# define WPATH "<widepath>" # 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) { if (state->path == NULL) {
free(state); free(state);
return NULL; return NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册