drieseng 9 роки тому
батько
коміт
74088c38a5
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      src/Renci.SshNet/Sftp/SftpSession.cs

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

@@ -328,7 +328,7 @@ namespace Renci.SshNet.Sftp
         {
             SshException exception = null;
 
-            var data = new byte[0];
+            byte[] data = null;
 
             using (var wait = new AutoResetEvent(false))
             {