From 07706f56cd421bf8b101a5c0fe44674d36e161a0 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Apr 2013 13:14:46 +0200 Subject: tagging ychat-0.5.1 --- thrd.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'thrd.cpp') diff --git a/thrd.cpp b/thrd.cpp index 7c9be50..4bac39e 100755 --- a/thrd.cpp +++ b/thrd.cpp @@ -4,7 +4,7 @@ #define THRD_CXX #include "thrd.h" -#include "SOCK.h" +#include "s_sock.h" using namespace std; @@ -16,12 +16,13 @@ thrd::thrd( int i_sock ) thrd::~thrd() { shutdown ( get_sock() , 2 ); + close ( get_sock() ); } void thrd::run() { - SOCK::get().read_write( this, i_sock ); + s_sock::get().read_write( this, i_sock ); } #endif -- cgit v1.2.3