summaryrefslogtreecommitdiff
path: root/lib/ReadJob.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ReadJob.cc')
-rw-r--r--lib/ReadJob.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ReadJob.cc b/lib/ReadJob.cc
index 8a4740a..c2a4629 100644
--- a/lib/ReadJob.cc
+++ b/lib/ReadJob.cc
@@ -18,7 +18,7 @@ int ReadJob::Do() {
*s >> buff;
}
catch (IOAgain e) {
- return TASK_WAITING_HANDLE;
+ return TASK_ON_HOLD;
}
current = 0;
}
@@ -27,7 +27,7 @@ int ReadJob::Do() {
}
catch (IOAgain e) {
current = 1;
- return TASK_WAITING_HANDLE;
+ return TASK_ON_HOLD;
}
if (buff == "") return TASK_DONE;
}