summaryrefslogtreecommitdiff
path: root/lib/CopyJob.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CopyJob.cc')
-rw-r--r--lib/CopyJob.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/CopyJob.cc b/lib/CopyJob.cc
index 0a086b9..7e7c4de 100644
--- a/lib/CopyJob.cc
+++ b/lib/CopyJob.cc
@@ -43,7 +43,8 @@ int CopyJob::Do() throw (GeneralException) {
tr = siz >= 0 ? siz - cursiz : COPY_BUFSIZ;
try {
r = s->read(buffer, MIN(COPY_BUFSIZ, tr));
-// cerr << "CopyJob: read " << r << " bytes." << endl;
+// std::cerr << "CopyJob: read " << r << " bytes." << std::endl;
+// std::cerr << buffer;
}
catch (IOAgain e) {
WaitFor(s, W4_READING);
@@ -62,10 +63,10 @@ int CopyJob::Do() throw (GeneralException) {
WaitFor(d, W4_WRITING);
Suspend(TASK_ON_HOLD);
}
-// cerr << "CopyJob: wrote " << w << " bytes." << endl;
+// std::cerr << "CopyJob: wrote " << w << " bytes." << std::endl;
tw += w;
if (r != tw) {
-// cerr << "CopyJob: We did expect to write a total of " << r << " bytes and we achieved " << tw << " bytes so far.\n";
+// std::cerr << "CopyJob: We did expect to write a total of " << r << " bytes and we achieved " << tw << " bytes so far.\n";
WaitFor(d, W4_WRITING);
Suspend(TASK_ON_HOLD);
}