Unreviewed build fix for WinCairo Debug after r241559.
authorross.kirsling@sony.com <ross.kirsling@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Feb 2019 23:06:06 +0000 (23:06 +0000)
committerross.kirsling@sony.com <ross.kirsling@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Feb 2019 23:06:06 +0000 (23:06 +0000)
* platform/network/curl/CurlContext.cpp:
(WebCore::CurlContext::CurlContext):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@241566 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/network/curl/CurlContext.cpp

index eb4df96..2caf6b3 100644 (file)
@@ -1,5 +1,12 @@
 2019-02-14  Ross Kirsling  <ross.kirsling@sony.com>
 
+        Unreviewed build fix for WinCairo Debug after r241559.
+
+        * platform/network/curl/CurlContext.cpp:
+        (WebCore::CurlContext::CurlContext):
+
+2019-02-14  Ross Kirsling  <ross.kirsling@sony.com>
+
         [WTF] Add environment variable helpers
         https://bugs.webkit.org/show_bug.cgi?id=192405
 
index 6ecfdb5..a2b8e8d 100644 (file)
@@ -87,7 +87,7 @@ CurlContext::CurlContext()
     m_scheduler = std::make_unique<CurlRequestScheduler>(maxConnects, maxTotalConnections, maxHostConnections);
 
 #ifndef NDEBUG
-    m_verbose = Environment::get("DEBUG_CURL");
+    m_verbose = !!Environment::get("DEBUG_CURL");
 
     if (const char* logFile = Environment::getRaw("CURL_LOG_FILE"))
         m_logFile = fopen(logFile, "a");