Commit 3b569f62 authored by Daniel Gustafsson's avatar Daniel Gustafsson
Browse files

curl: follow-up to 3f16990e



Commit 3f16990e followed-up a bug in b49652ac but was
inadvertently introducing a new bug in the ternary expression.

Close #3555
Reviewed-by: default avatarDaniel Stenberg <daniel@haxx.se>
parent e5d574c5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)