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
|
||||
;
|
||||
my $flongcheckzero = <<MOO
|
||||
if(first && present(first) && !bad_long(res,
|
||||
if(first && present(first) && !bad_long(first,
|
||||
$name))
|
||||
errlongzero("$name", first, __LINE__);
|
||||
MOO
|
||||
@ -594,7 +594,6 @@ MOO
|
||||
|
||||
print $fh <<FOOTER
|
||||
)
|
||||
|
||||
curl_easy_setopt(curl, (CURLoption)1, 0);
|
||||
res = CURLE_OK;
|
||||
test_cleanup:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user