blob: 6d8fda101e5ade4af81a7ee84441091d914ff446 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--- 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
-#define USE_CURL
-#endif
+#undef USE_CURL
extern int abort_request;
@@ -65,7 +63,9 @@
_show_progress = show_progress;
_ceritifcate = certificate;
_numberOfRetrials = numberOfRetrials;
+#ifdef USE_CURL
_headers = NULL;
+#endif
if (proxy != NULL)
{
if (proxy[0] != 0)
|