From ca28c0e618890330d429c0dc12429255b20f0c90 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Apr 2013 13:14:44 +0200 Subject: tagging ychat-0.5.0 --- thrd.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'thrd.cpp') diff --git a/thrd.cpp b/thrd.cpp index b36099c..4bac39e 100755 --- a/thrd.cpp +++ b/thrd.cpp @@ -10,20 +10,19 @@ using namespace std; thrd::thrd( int i_sock ) { - this->i_sock = i_sock; + this->i_sock = i_sock; } thrd::~thrd() { - shutdown ( get_sock() , 2 ); - close ( get_sock() ); + shutdown ( get_sock() , 2 ); + close ( get_sock() ); } void thrd::run() { - s_sock::get - ().read_write( this, i_sock ); + s_sock::get().read_write( this, i_sock ); } #endif -- cgit v1.2.3