Explorar o código

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 hai 2 días
pai
achega
821f958a22

+ 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;
                     }