diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CopyJob.cc | 4 | ||||
-rw-r--r-- | lib/ReadJob.cc | 4 | ||||
-rw-r--r-- | lib/TaskMan.cc | 2 |
3 files changed, 5 insertions, 5 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; } 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; } diff --git a/lib/TaskMan.cc b/lib/TaskMan.cc index 58c7eae..5a2f06f 100644 --- a/lib/TaskMan.cc +++ b/lib/TaskMan.cc @@ -1,3 +1,3 @@ #include <TaskMan.h> -Task::Task() ( )
\ No newline at end of file +TaskMan::TaskMan() { } |