mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 08:38:49 -05:00
curl: follow-up to 3f16990ec8
Commit3f16990ec8
followed-up a bug inb49652ac66
but was inadvertently introducing a new bug in the ternary expression. Close #3555 Reviewed-by: Daniel Stenberg <daniel@haxx.se>
This commit is contained in:
parent
e5d574c54f
commit
3b569f6248
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user