Fix version check

This commit is contained in:
Felipe Zimmerle
2020-03-24 17:15:04 -03:00
parent 6367e6d5e9
commit f1d22f9b02
3 changed files with 4 additions and 4 deletions

View File

@@ -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) {