Permalink
Browse files

curl: follow-up to 3f16990

Commit 3f16990 followed-up a bug in b49652a but was
inadvertently introducing a new bug in the ternary expression.
  • Loading branch information...
danielgustafsson committed Feb 11, 2019
1 parent e5d574c commit ffd553c88fdded8b24b39f871e55b2c757c1f95f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/tool_xattr.c
@@ -116,7 +116,7 @@ int fwrite_xattr(CURL *curl, int fd)
mappings[i].attr, value, strlen(value));
/* FreeBSD's extattr_set_fd returns the length of the extended
attribute */
err = (rc < 0 : -1 : 0);
err = (rc < 0 ? -1 : 0);
}
#endif
if(freeptr)

0 comments on commit ffd553c

Please sign in to comment.