sftp: Remove needless newline from log messages

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 7342e73d10)
This commit is contained in:
Jakub Jelen
2026-01-16 19:10:48 +01:00
parent 7ecca1fd26
commit e34e6c8c94

View File

@@ -546,17 +546,14 @@ static sftp_attributes sftp_parse_attr_3(sftp_session sftp,
if (rc != SSH_OK){ if (rc != SSH_OK){
goto error; goto error;
} }
SSH_LOG(SSH_LOG_DEBUG, SSH_LOG(SSH_LOG_DEBUG, "Flags: %.8" PRIx32, attr->flags);
"Flags: %.8" PRIx32 "\n", attr->flags);
if (attr->flags & SSH_FILEXFER_ATTR_SIZE) { if (attr->flags & SSH_FILEXFER_ATTR_SIZE) {
rc = ssh_buffer_unpack(buf, "q", &attr->size); rc = ssh_buffer_unpack(buf, "q", &attr->size);
if(rc != SSH_OK) { if(rc != SSH_OK) {
goto error; goto error;
} }
SSH_LOG(SSH_LOG_DEBUG, SSH_LOG(SSH_LOG_DEBUG, "Size: %" PRIu64, (uint64_t)attr->size);
"Size: %" PRIu64 "\n",
(uint64_t) attr->size);
} }
if (attr->flags & SSH_FILEXFER_ATTR_UIDGID) { if (attr->flags & SSH_FILEXFER_ATTR_UIDGID) {