From ad148587dcf5244c2d2011dba339786c765c54c4 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Wed, 4 Nov 2020 16:19:54 +0100 Subject: Make Lint Happy --- src/convert_json.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/convert_json.cpp') diff --git a/src/convert_json.cpp b/src/convert_json.cpp index c774aa002..0a8fa1e22 100644 --- a/src/convert_json.cpp +++ b/src/convert_json.cpp @@ -29,8 +29,8 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "httpfetch.h" #include "porting.h" -Json::Value fetchJsonValue(const std::string &url, - std::vector *extra_headers) +Json::Value fetchJsonValue( + const std::string &url, std::vector *extra_headers) { HTTPFetchRequest fetch_request; HTTPFetchResult fetch_result; @@ -57,10 +57,12 @@ Json::Value fetchJsonValue(const std::string &url, errorstream << "Failed to parse json data " << errs << std::endl; if (fetch_result.data.size() > 100) { errorstream << "Data (" << fetch_result.data.size() - << " bytes) printed to warningstream." << std::endl; - warningstream << "data: \"" << fetch_result.data << "\"" << std::endl; + << " bytes) printed to warningstream." << std::endl; + warningstream << "data: \"" << fetch_result.data << "\"" + << std::endl; } else { - errorstream << "data: \"" << fetch_result.data << "\"" << std::endl; + errorstream << "data: \"" << fetch_result.data << "\"" + << std::endl; } return Json::Value(); } -- cgit v1.2.3