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...
Showing
with
1 addition
and
1 deletion.
-
+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