summaryrefslogtreecommitdiff
path: root/lib/CopyJob.cc
diff options
context:
space:
mode:
authorPixel <Pixel>2001-11-27 15:10:33 +0000
committerPixel <Pixel>2001-11-27 15:10:33 +0000
commit76b2e3c19278da49193aa1599a35197b279b4439 (patch)
tree01a9c64a71a7e4568b5f0ad5db3077e0c0311b08 /lib/CopyJob.cc
parent29f8cedf68c5e45ca20078a2a34a07875d7dea5b (diff)
Bug in taskman...
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 a736e9d..fd31eff 100644
--- a/lib/CopyJob.cc
+++ b/lib/CopyJob.cc
@@ -18,7 +18,7 @@ int CopyJob::Do() throw (GeneralException) {
r = s->read(buffer, MIN(COPY_BUFSIZ, tr));
}
catch (IOAgain e) {
- Suspend();
+ Suspend(TASK_ON_HOLD);
}
case 1:
if (!r) {
@@ -29,7 +29,7 @@ int CopyJob::Do() throw (GeneralException) {
}
catch (IOAgain e) {
current = 1;
- Suspend();
+ Suspend(TASK_ON_HOLD);
}
current = 0;
}