summaryrefslogtreecommitdiff
path: root/thrd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'thrd.cpp')
-rwxr-xr-xthrd.cpp9
1 files changed, 4 insertions, 5 deletions
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