mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-16 09:31:53 +03:00
Fix version check
This commit is contained in:
@@ -64,7 +64,7 @@ bool HttpsClient::download(const std::string &uri) {
|
||||
CURL *curl;
|
||||
CURLcode res;
|
||||
std::string uniqueId = "ModSec-unique-id: " + UniqueId::uniqueId();
|
||||
std::string status = "ModSec-status: " MODSECURITY_VERSION_NUM;
|
||||
std::string status = "ModSec-status: " + std::to_string(MODSECURITY_VERSION_NUM);
|
||||
|
||||
curl = curl_easy_init();
|
||||
if (!curl) {
|
||||
|
||||
Reference in New Issue
Block a user