From 1f0b94c947b65a9d62696b6ee2b1fd234e3a3cc9 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 23 Oct 2025 10:27:51 +0000
Subject: [PATCH 1/2] Initial plan
From 006ad96364445f6151fd92b6b4384fab2452bd7f Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 23 Oct 2025 10:35:15 +0000
Subject: [PATCH 2/2] =?UTF-8?q?Fix=20comment=20typos:=20lenght=E2=86=92len?=
=?UTF-8?q?gth,=20occured=E2=86=92occurred?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Co-authored-by: WojciechNagorski <17333903+WojciechNagorski@users.noreply.github.com>
---
src/Renci.SshNet/Sftp/SftpFileSystemInformation.cs | 4 ++--
src/Renci.SshNet/Sftp/SftpSession.cs | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/Renci.SshNet/Sftp/SftpFileSystemInformation.cs b/src/Renci.SshNet/Sftp/SftpFileSystemInformation.cs
index a740ad3d8..49af071e6 100644
--- a/src/Renci.SshNet/Sftp/SftpFileSystemInformation.cs
+++ b/src/Renci.SshNet/Sftp/SftpFileSystemInformation.cs
@@ -109,10 +109,10 @@ public bool SupportsSetUid
}
///
- /// Gets the max name lenght.
+ /// Gets the max name length.
///
///
- /// The max name lenght.
+ /// The max name length.
///
public ulong MaxNameLenght { get; private set; }
diff --git a/src/Renci.SshNet/Sftp/SftpSession.cs b/src/Renci.SshNet/Sftp/SftpSession.cs
index e9acc0d14..af9e3b35e 100644
--- a/src/Renci.SshNet/Sftp/SftpSession.cs
+++ b/src/Renci.SshNet/Sftp/SftpSession.cs
@@ -271,7 +271,7 @@ protected override void OnDataReceived(ArraySegment data)
if (!TryLoadSftpMessage(data.Slice(4, packetLength)))
{
- // An error occured.
+ // An error occurred.
return;
}