Fix Warnings: this ‘if’ clause does not guard...

warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if(data.isRawData())
     ^~
This commit is contained in:
Phenom 2017-05-08 12:18:51 +02:00
parent 58c812aea8
commit a6acc72c89

View File

@ -377,8 +377,8 @@ std::string ApiServer::handleRequest(Request &request)
if(data.isRawData())
return data.getRawData();
if(!resp.mCallbackName.empty())
outstream << resource_api::makeKeyValueReference("callback_name", resp.mCallbackName);
if(!resp.mCallbackName.empty())
outstream << resource_api::makeKeyValueReference("callback_name", resp.mCallbackName);
outstream << resource_api::makeKeyValue("debug_msg", debugString.str());
outstream << resource_api::makeKeyValueReference("returncode", returncode);