From 3a740c3bfc04215dc74b2b34930fa38dad6acff3 Mon Sep 17 00:00:00 2001 From: lightbulblighter <59720715+lightbulblighter@users.noreply.github.com> Date: Tue, 7 Jun 2022 03:07:52 -0700 Subject: [PATCH] use CURLE_OK --- PolygonDLL/Hooks/Http.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PolygonDLL/Hooks/Http.cpp b/PolygonDLL/Hooks/Http.cpp index 51b11d2..6c24e1f 100644 --- a/PolygonDLL/Hooks/Http.cpp +++ b/PolygonDLL/Hooks/Http.cpp @@ -26,7 +26,7 @@ void __fastcall Http__httpGetPostWinInet_hook(Http* _this, void*, bool isPost, i Http _changed = *_this; - if (!result) + if (result == CURLE_OK) { char* path; char* host;