summaryrefslogtreecommitdiff
path: root/lib/CopyJob.cc
diff options
context:
space:
mode:
authorPixel <Pixel>2001-12-12 07:39:41 +0000
committerPixel <Pixel>2001-12-12 07:39:41 +0000
commitb9c5376bb1b0bf8e9bd0589e192220dfe0892bd5 (patch)
treebb799f34c2eff21b9577a72998fd3338d27fca0b /lib/CopyJob.cc
parentdfe6f0caffcf811e246c3950623c4a269901b384 (diff)
Still working on it...
Diffstat (limited to 'lib/CopyJob.cc')
-rw-r--r--lib/CopyJob.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CopyJob.cc b/lib/CopyJob.cc
index 1e151c3..877b113 100644
--- a/lib/CopyJob.cc
+++ b/lib/CopyJob.cc
@@ -26,6 +26,9 @@ 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;
+ buffer[r] = 0;
+ cerr << buffer << endl;
}
catch (IOAgain e) {
WaitFor(s, W4_READING);