diff options
author | Pixel <pixel@nobis-crew.org> | 2008-10-08 09:37:57 -0700 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2008-10-08 09:37:57 -0700 |
commit | 5630b8067debf046c748ebcb5606589d32d9bc72 (patch) | |
tree | b6868af792847298ef732509b89bd1e53e1c9fdb /lib | |
parent | e771ca4231f7b7256cbff0eb3ac514267d7427ad (diff) |
Obviously, buffers need to be emptied at each loop...
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ReadJob.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ReadJob.cc b/lib/ReadJob.cc index 33f78dd..d444008 100644 --- a/lib/ReadJob.cc +++ b/lib/ReadJob.cc @@ -56,6 +56,7 @@ int ReadJob::Do() throw (GeneralException) { case 1: try { *d << buff << "\n"; + buff = ""; } catch (IOAgain e) { /***TODO*** Potential bug here: if the write was partial, we'd need to restart at a later position. */ |