fix for update check

This commit is contained in:
john30
2017-03-19 09:19:39 +01:00
parent daeea2080b
commit 2c0dda59fc
+1 -1
View File
@@ -309,7 +309,7 @@ void MainLoop::run() {
ostr << "Host: ebusd.eu" << "\r\n";
ostr << "User-Agent: " << PACKAGE_NAME << "/" << PACKAGE_VERSION << "\r\n";
ostr << "Content-Type: application/json; charset=utf-8\r\n";
ostr << "Content-Length: " << str.length() << "\r\n";
ostr << "Content-Length: " << dec << str.length() << "\r\n";
ostr << "\r\n";
ostr << str;
str = ostr.str();