mirror of
https://github.com/curl/curl.git
synced 2026-04-11 12:01:42 +08:00
fixup another return code
This commit is contained in:
parent
c3fec40010
commit
d702b4068d
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user