diff --git a/client_http.hpp b/client_http.hpp index e5bb113..dc8aca5 100644 --- a/client_http.hpp +++ b/client_http.hpp @@ -302,7 +302,7 @@ namespace SimpleWeb { } } write_stream << "\r\n"; - write_stream.write(content.data(), static_cast(content.size())); + write_stream.write(content.data(), static_cast(content.size())); connect(session); } @@ -734,7 +734,7 @@ namespace SimpleWeb { std::ostream ostream(&session->response->streambuf); std::string line; while(std::getline(istream, line) && !line.empty()) { - ostream.write(line.data(), static_cast(line.size())); + ostream.write(line.data(), static_cast(line.size())); ostream.put('\n'); }