diff options
author | Olivier Cochard <olivier@FreeBSD.org> | 2022-12-17 01:16:48 +0100 |
---|---|---|
committer | Olivier Cochard <olivier@FreeBSD.org> | 2022-12-17 01:21:12 +0100 |
commit | d1f2880461a4927c9b1ca822127afb237669aa7b (patch) | |
tree | b1e088f91eefd9490a322cef0c242ec3e48cfe35 /sysutils/mstflint/files/extrat-patch-mlxfwupdate_server_request.cpp | |
parent | databases/kyotocabinet: revert "add prototypes to kclangc.h declarations." (diff) |
sysutils/mstflint: Update to 4.22.0-1
ChangeLog: https://github.com/Mellanox/mstflint/releases/tag/v4.22.0-1
Reported by: hselasky
Sponsored by: Netflix
Diffstat (limited to 'sysutils/mstflint/files/extrat-patch-mlxfwupdate_server_request.cpp')
-rw-r--r-- | sysutils/mstflint/files/extrat-patch-mlxfwupdate_server_request.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sysutils/mstflint/files/extrat-patch-mlxfwupdate_server_request.cpp b/sysutils/mstflint/files/extrat-patch-mlxfwupdate_server_request.cpp index 9b272356c8e0..6d8fda101e5a 100644 --- a/sysutils/mstflint/files/extrat-patch-mlxfwupdate_server_request.cpp +++ b/sysutils/mstflint/files/extrat-patch-mlxfwupdate_server_request.cpp @@ -1,7 +1,7 @@ ---- mlxfwupdate/server_request.cpp.orig 2020-01-09 00:45:10.200149000 +0100 -+++ mlxfwupdate/server_request.cpp 2020-01-09 00:46:56.459627000 +0100 +--- mlxfwupdate/server_request.cpp.orig 2022-12-16 18:34:53.974210000 +0100 ++++ mlxfwupdate/server_request.cpp 2022-12-16 18:36:46.969103000 +0100 @@ -43,9 +43,7 @@ - + #include <string> using namespace std; -#ifndef USE_CURL @@ -11,13 +11,13 @@ extern int abort_request; -@@ -62,7 +60,9 @@ ServerRequest::ServerRequest(const char *url, const ch +@@ -65,7 +63,9 @@ _show_progress = show_progress; - _ceritifcate = certificate; + _ceritifcate = certificate; _numberOfRetrials = numberOfRetrials; +#ifdef USE_CURL - _headers = NULL; + _headers = NULL; +#endif - if (proxy != NULL) { - if (proxy[0] != 0) { - _UseProxy = 1; + if (proxy != NULL) + { + if (proxy[0] != 0) |