diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-09-29 10:06:42 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-09-29 10:07:49 +0200 |
commit | 0dd64d58f8ff372f542478672a7a0f35b146bd7b (patch) | |
tree | 77736dc45bb5d9a794c8657aaa28ecf53b56f84e /lib/optiontable.pl | |
parent | 2b7e56aab353188e7919cd941150abb77ffc4d97 (diff) | |
download | curl-bagder/pre-easyoptions.tar.gz |
easyoptions: add the two new PRE* optionsbagder/pre-easyoptions
Follow-up to a517378de58358a
Also fix optiontable.pl to do the correct remainder on the entry.
Reported-by: Gisle Vanem
Bug: https://github.com/curl/curl/commit/a517378de58358a85b7cfe9efecb56051268f629#commitcomment-57224830
Diffstat (limited to 'lib/optiontable.pl')
-rw-r--r-- | lib/optiontable.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/optiontable.pl b/lib/optiontable.pl index 2a15f0438..abd80a895 100644 --- a/lib/optiontable.pl +++ b/lib/optiontable.pl @@ -111,7 +111,7 @@ print <<FOOT */ int Curl_easyopts_check(void) { - return (CURLOPT_LASTENTRY != ($lastnum + 1)); + return ((CURLOPT_LASTENTRY%10000) != ($lastnum + 1)); } #endif FOOT |