- addr->transport_return = DEFER;
- addr->basic_errno = errno;
- addr->message = string_sprintf("%s transport opening file fd: %s "
- "failed with error: %s", tb->name, dstpath, strerror(errno));
- (void) close(dstfd);
- return FALSE;
- }
-
-if (is_hdr_file)
- if ((srcfd = openat(sdfd, CCS filename, O_RDONLY)) < 0)
- {
- addr->basic_errno = errno;
- addr->message = string_sprintf("%s transport opening file: %s "
- "failed with error: %s", tb->name, srcpath, strerror(errno));
- goto bad;
- }
-
-if (!(src_file = fdopen(srcfd, "rb")))
- {
- addr->basic_errno = errno;
- addr->message = string_sprintf("%s transport opening file fd: "
- "%s failed with error: %s", tb->name, srcpath, strerror(errno));
- if (is_hdr_file) (void) close(srcfd);
- goto bad;
- }
+ DEBUG(D_transport) debug_printf("%s transport, copying %s => %s\n",
+ tb->name, srcpath, dstpath);