Skip to content

Commit

Permalink
fixed all warning with 9999
Browse files Browse the repository at this point in the history
  • Loading branch information
pasotee committed Nov 13, 2023
1 parent b2cc9ed commit 791c751
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/configfetcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ CURLcode ConfigFetcher::SslContextSetup(CURL* curl, void* sslctx) {
for (const auto & entryPath : extraSslCertificates) {
std::ifstream file(entryPath.c_str());
if (!file) {
LOG_WARN(9999) << "Couldn't read file: " << entryPath;
LOG_WARN(0) << "Couldn't read file: " << entryPath;
continue;
}

Expand Down Expand Up @@ -160,8 +160,7 @@ ConfigFetcher::ConfigFetcher(const string& sdkKey, shared_ptr<ConfigCatLogger> l

if(!shouldVerify)
{
// TODO: Check wording + ask if we need a warning number
LOG_WARN(9999) << "Peer verification will be disabled. We highly suggest using HTTPS for production grade apps.";
LOG_WARN(0) << "Peer verification will be disabled. We highly suggest using HTTPS for production grade apps.";
}

curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, shouldVerify ? 1L : 0L);
Expand Down

0 comments on commit 791c751

Please sign in to comment.