summaryrefslogtreecommitdiff
path: root/sysutils/mstflint/files/extrat-patch-mlxfwupdate_server_request.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/mstflint/files/extrat-patch-mlxfwupdate_server_request.cpp')
-rw-r--r--sysutils/mstflint/files/extrat-patch-mlxfwupdate_server_request.cpp18
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)