diff options
Diffstat (limited to 'lib/ReadJob.cc')
-rw-r--r-- | lib/ReadJob.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ReadJob.cc b/lib/ReadJob.cc index 9f4e084..bd63377 100644 --- a/lib/ReadJob.cc +++ b/lib/ReadJob.cc @@ -9,8 +9,8 @@ int ReadJob::Do() { String buff; while (!s.IsClosed()) { - buff << s; - buff >> d; + s >> buff; + d << buff; if (buff == "") return TASK_DONE; } } |