From 7342e73d101c6a37ca18c7b9ee5c69774addd676 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Fri, 16 Jan 2026 19:10:48 +0100 Subject: [PATCH] sftp: Remove needless newline from log messages Signed-off-by: Jakub Jelen Reviewed-by: Andreas Schneider --- src/sftp_common.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/sftp_common.c b/src/sftp_common.c index 71245e61..d59b32bd 100644 --- a/src/sftp_common.c +++ b/src/sftp_common.c @@ -549,17 +549,14 @@ static sftp_attributes sftp_parse_attr_3(sftp_session sftp, if (rc != SSH_OK){ goto error; } - SSH_LOG(SSH_LOG_DEBUG, - "Flags: %.8" PRIx32 "\n", attr->flags); + SSH_LOG(SSH_LOG_DEBUG, "Flags: %.8" PRIx32, attr->flags); if (attr->flags & SSH_FILEXFER_ATTR_SIZE) { rc = ssh_buffer_unpack(buf, "q", &attr->size); if(rc != SSH_OK) { goto error; } - SSH_LOG(SSH_LOG_DEBUG, - "Size: %" PRIu64 "\n", - (uint64_t) attr->size); + SSH_LOG(SSH_LOG_DEBUG, "Size: %" PRIu64, (uint64_t)attr->size); } if (attr->flags & SSH_FILEXFER_ATTR_UIDGID) {