mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Fix version check
This commit is contained in:
@@ -44,8 +44,8 @@ pkginclude_HEADERS = \
|
||||
../headers/modsecurity/rule.h \
|
||||
../headers/modsecurity/rules.h \
|
||||
../headers/modsecurity/rule_message.h \
|
||||
../headers/modsecurity/rules.h \
|
||||
../headers/modsecurity/rules_set.h \
|
||||
../headers/modsecurity/rules_set_phases.h \
|
||||
../headers/modsecurity/rules_set_properties.h \
|
||||
../headers/modsecurity/rules_exceptions.h \
|
||||
../headers/modsecurity/transaction.h \
|
||||
|
@@ -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