fixup another return code

This commit is contained in:
Daniel Stenberg 2026-04-10 23:52:12 +02:00
parent c3fec40010
commit d702b4068d
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -70,8 +70,8 @@ static CURLcode test_lib1587(const char *URL)
{
CURLcode result = curl_global_init(CURL_GLOBAL_ALL);
CURL *curl;
if(result != CURLE_OK)
return (int)result;
if(result)
return result;
curl = curl_easy_init();
if(curl) {