Commit d53f3fd3 authored by Micha Mueller's avatar Micha Mueller
Browse files

Remove superfluous forgotten output in HttpsServer

parent bb55483c
......@@ -68,7 +68,6 @@ void HttpsServer::requestHandler::operator()(server::request const &request, ser
}
}
//finished string processing
LOG(info) << "Plugin " << plugin << " Sensor " << sensor << " Action " << action;
//process actual request
//check if query and action are valid values
......@@ -92,10 +91,7 @@ void HttpsServer::requestHandler::operator()(server::request const &request, ser
}
avg /= CACHE_SIZE;
std::stringstream sstream;
sstream << plugin << "::" << sensor << ": Average of last " << CACHE_SIZE << " values is " << avg;
response = sstream.str();
response = plugin + "::" + sensor + " Average of last " + std::to_string(CACHE_SIZE) + " values is " + std::to_string(avg);
connection->set_status(server::connection::ok);
goto end;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment