diff options
Diffstat (limited to 'thrd.cpp')
| -rwxr-xr-x | thrd.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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 |
