From: Steinar H. Gunderson Date: Sat, 6 Apr 2013 21:08:34 +0000 (+0200) Subject: Fix broken Client constructor. X-Git-Tag: 1.0.0~204 X-Git-Url: https://git.sesse.net/?p=cubemap;a=commitdiff_plain;h=1d995a9b2f2d56fb66192b8404c9f5591af9ff75;ds=inline Fix broken Client constructor. --- diff --git a/server.cpp b/server.cpp index 9c4219a..69615e7 100644 --- a/server.cpp +++ b/server.cpp @@ -23,7 +23,8 @@ using namespace std; Client::Client(int sock) - : state(Client::READING_REQUEST), + : sock(sock), + state(Client::READING_REQUEST), header_bytes_sent(0), bytes_sent(0) {