summaryrefslogtreecommitdiff
path: root/syncClientSocket.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-04-11 15:57:09 +0000
committerOthmar Gsenger <otti@anytun.org>2008-04-11 15:57:09 +0000
commit771db0723727abf18ec4cd87f4abe61e57971d52 (patch)
treed30ce173edc28ffbf8aeda0b31b74c9551bdfe19 /syncClientSocket.cpp
parentadded chroot support to anytun (diff)
cleaned up sync log
Diffstat (limited to 'syncClientSocket.cpp')
-rw-r--r--syncClientSocket.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/syncClientSocket.cpp b/syncClientSocket.cpp
index b4ed015..e7eb0d2 100644
--- a/syncClientSocket.cpp
+++ b/syncClientSocket.cpp
@@ -58,7 +58,7 @@ void SyncClientSocket::OnRawData(const char *buf,size_t len)
std::stringstream tmp;
tmp.write(buffer,6);
tmp>>missing_chars;
- cLog.msg(Log::PRIO_NOTICE) << "recieved sync inforamtaion length from " << GetRemoteHostname() <<" "<<tmp.str()<<"bytes of data"<< std::endl;
+// cLog.msg(Log::PRIO_NOTICE) << "recieved sync inforamtaion length from " << GetRemoteHostname() <<" "<<tmp.str()<<"bytes of data"<< std::endl;
delete[] buffer;
buffer_size_-=6;
} else
@@ -68,7 +68,7 @@ void SyncClientSocket::OnRawData(const char *buf,size_t len)
iss_.read(buffer,missing_chars);
std::stringstream tmp;
tmp.write(buffer,missing_chars);
- cLog.msg(Log::PRIO_NOTICE) << "recieved sync inforamtaion from " << GetRemoteHostname() <<" \""<<tmp.str()<<'"'<< std::endl;
+// cLog.msg(Log::PRIO_NOTICE) << "recieved sync inforamtaion from " << GetRemoteHostname() <<" \""<<tmp.str()<<'"'<< std::endl;
boost::archive::text_iarchive ia(tmp);
SyncCommand scom(cl_);
ia >> scom;