diff options
author | Othmar Gsenger <otti@anytun.org> | 2008-02-28 20:42:22 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2008-02-28 20:42:22 +0000 |
commit | da9c6e766c1454cb0d5ead5b1ab3279f24038c1d (patch) | |
tree | 4b63b4b1aae220cdf5a37693e002963c8888c70b /syncClientSocket.cpp | |
parent | sync fixes (diff) |
sync bugfix
Diffstat (limited to 'syncClientSocket.cpp')
-rw-r--r-- | syncClientSocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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_); |