xattr: fix compiler warning: enumerated type mixed with another type

This commit is contained in:
Yang Tse 2010-11-26 17:35:48 +01:00
parent c2ba8ca81f
commit 5088e3709d

View File

@ -40,7 +40,7 @@ static const struct xattr_mapping {
*/
{ "user.xdg.origin.url", CURLINFO_EFFECTIVE_URL },
{ "user.mime_type", CURLINFO_CONTENT_TYPE },
{ NULL, 0 } /* last element, abort loop here */
{ NULL, CURLINFO_NONE } /* last element, abort loop here */
};
/* store metadata from the curl request alongside the downloaded