summaryrefslogtreecommitdiff
path: root/lib/CopyJob.cc
diff options
context:
space:
mode:
authorPixel <Pixel>2001-11-09 16:14:06 +0000
committerPixel <Pixel>2001-11-09 16:14:06 +0000
commit074dcdeed8f599d3f4108af10c7cb94c3b9ac11e (patch)
tree89b739b02452f35a367f0a979c06ef85cb056c27 /lib/CopyJob.cc
parent823761df28ad31cde8a071125b177f49494d804a (diff)
Autogen...
Diffstat (limited to 'lib/CopyJob.cc')
-rw-r--r--lib/CopyJob.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CopyJob.cc b/lib/CopyJob.cc
index 6a35689..f1d3310 100644
--- a/lib/CopyJob.cc
+++ b/lib/CopyJob.cc
@@ -15,7 +15,7 @@ int CopyJob::Do() {
r = s->read(buffer, MIN(COPY_BUFSIZ, tr));
}
catch (IOAgain e) {
- return TASK_WAITING_HANDLE;
+ return TASK_ON_HOLD;
}
current = 0;
}
@@ -24,7 +24,7 @@ int CopyJob::Do() {
}
catch (IOAgain e) {
current = 1;
- return TASK_WAITING_HANDLE;
+ return TASK_ON_HOLD;
}
cursiz += r;
}