From 1d995a9b2f2d56fb66192b8404c9f5591af9ff75 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 6 Apr 2013 23:08:34 +0200 Subject: [PATCH] Fix broken Client constructor. --- server.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- 2.39.2