Displaying 1 result from an estimated 1 matches for "662,708".
Did you mean:
662,18
2002 Mar 15
4
PATCH: sftp-server logging.
...(name, attrib_to_tv(a));
! if (ret == -1)
status = errno_to_portable(errno);
}
if (a->flags & SSH2_FILEXFER_ATTR_UIDGID) {
ret = chown(name, a->uid, a->gid);
! if (ret == -1)
status = errno_to_portable(errno);
}
send_status(id, status);
xfree(name);
--- 662,708 ----
TRACE("setstat id %d name %s", id, name);
if (a->flags & SSH2_FILEXFER_ATTR_SIZE) {
ret = truncate(name, a->size);
! if (ret == -1) {
status = errno_to_portable(errno);
+ #ifdef SFTP_LOGGING
+ log("(%d/%d/%s) Truncate file failed - %s: %s."...