summaryrefslogtreecommitdiff
path: root/thrd.cpp
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:44 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:44 +0200
commitca28c0e618890330d429c0dc12429255b20f0c90 (patch)
treeecc02da0184cf4e8bdba94dcdd831abdd1e51b3c /thrd.cpp
parentb3a99e6e15af3be25394e66d1138bb2682f565c3 (diff)
tagging ychat-0.5.0ychat-0.5.0
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