diff options
Diffstat (limited to 'src/tool_xattr.c')
-rw-r--r-- | src/tool_xattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_xattr.c b/src/tool_xattr.c index 76ee52482..91fc4ed38 100644 --- a/src/tool_xattr.c +++ b/src/tool_xattr.c @@ -100,7 +100,7 @@ int fwrite_xattr(CURL *curl, int fd) int err = 0; /* loop through all xattr-curlinfo pairs and abort on a set error */ - while(err == 0 && mappings[i].attr != NULL) { + while(err == 0 && mappings[i].attr) { char *value = NULL; CURLcode result = curl_easy_getinfo(curl, mappings[i].info, &value); if(!result && value) { |