mirror of
https://github.com/QIDITECH/QIDIStudio.git
synced 2026-02-02 18:08:51 +03:00
Optimized and fixed some bugs
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user