diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-09-29 10:06:42 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-09-29 14:48:02 +0200 |
commit | f53b89314ddbfe2b3b203a85c2181868c6151363 (patch) | |
tree | 5fd62ea51c8ea0e037d651de265593251de5875e /lib/optiontable.pl | |
parent | 180180a44d8e7a54b772af02eb90e0eab1c61d37 (diff) | |
download | curl-f53b89314ddbfe2b3b203a85c2181868c6151363.tar.gz |
easyoptions: add the two new PRE* options
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
Closes #7791
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 |