Optimized and fixed some bugs

This commit is contained in:
QIDI TECH
2024-09-28 16:31:40 +08:00
parent cc186748ed
commit 72571efb04
44 changed files with 991 additions and 603 deletions

View File

@@ -15,7 +15,7 @@
#include <curl/curl.h>
#include "../GUI/PrinterWebView.hpp"
#include "OctoPrint.hpp"
#ifdef OPENSSL_CERT_OVERRIDE
#include <openssl/x509.h>
@@ -235,7 +235,7 @@ int Http::priv::xfercb(void *userp, curl_off_t dltotal, curl_off_t dlnow, curl_o
auto self = static_cast<priv*>(userp);
bool cb_cancel = false;
//y36
if (PrintHost::GetStop())
if (OctoPrint::GetStop())
cb_cancel = true;
if (self->progressfn) {