소스 검색

Fix typos in comments: "lenght" → "length" and "occured" → "occurred" (#1719)

* Initial plan

* Fix comment typos: lenght→length, occured→occurred

Co-authored-by: WojciechNagorski <17333903+WojciechNagorski@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: WojciechNagorski <17333903+WojciechNagorski@users.noreply.github.com>
Copilot 2 일 전
부모
커밋
821f958a22
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 2
      src/Renci.SshNet/Sftp/SftpFileSystemInformation.cs
  2. 1 1
      src/Renci.SshNet/Sftp/SftpSession.cs

+ 2 - 2
src/Renci.SshNet/Sftp/SftpFileSystemInformation.cs

@@ -109,10 +109,10 @@ namespace Renci.SshNet.Sftp
         }
 
         /// <summary>
-        /// Gets the max name lenght.
+        /// Gets the max name length.
         /// </summary>
         /// <value>
-        /// The max name lenght.
+        /// The max name length.
         /// </value>
         public ulong MaxNameLenght { get; private set; }
 

+ 1 - 1
src/Renci.SshNet/Sftp/SftpSession.cs

@@ -271,7 +271,7 @@ namespace Renci.SshNet.Sftp
 
                     if (!TryLoadSftpMessage(data.Slice(4, packetLength)))
                     {
-                        // An error occured.
+                        // An error occurred.
                         return;
                     }