diff options
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. */ |