From da9c6e766c1454cb0d5ead5b1ab3279f24038c1d Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Thu, 28 Feb 2008 20:42:22 +0000 Subject: sync bugfix --- syncClientSocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncClientSocket.cpp b/syncClientSocket.cpp index 40954c4..34a23f0 100644 --- a/syncClientSocket.cpp +++ b/syncClientSocket.cpp @@ -49,7 +49,7 @@ void SyncClientSocket::OnRawData(const char *buf,size_t len) iss_ << buf[index]; } - while(!iss_.fail()) + while(!iss_.eof() && !iss_.fail()) { boost::archive::text_iarchive ia(iss_); SyncCommand scom(cl_); -- cgit v1.2.3