mk-lib1521: fix the long return code check
It worked mostly by accident since it checked the variable from the previous setopt invoke. Closes #15372
This commit is contained in:
parent
605bc2d2c6
commit
0e18bd3940
@ -441,7 +441,7 @@ MOO
|
|||||||
MOO
|
MOO
|
||||||
;
|
;
|
||||||
my $flongcheckzero = <<MOO
|
my $flongcheckzero = <<MOO
|
||||||
if(first && present(first) && !bad_long(res,
|
if(first && present(first) && !bad_long(first,
|
||||||
$name))
|
$name))
|
||||||
errlongzero("$name", first, __LINE__);
|
errlongzero("$name", first, __LINE__);
|
||||||
MOO
|
MOO
|
||||||
@ -594,7 +594,6 @@ MOO
|
|||||||
|
|
||||||
print $fh <<FOOTER
|
print $fh <<FOOTER
|
||||||
)
|
)
|
||||||
|
|
||||||
curl_easy_setopt(curl, (CURLoption)1, 0);
|
curl_easy_setopt(curl, (CURLoption)1, 0);
|
||||||
res = CURLE_OK;
|
res = CURLE_OK;
|
||||||
test_cleanup:
|
test_cleanup:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user