Skip to content

Commit 25275ff

Browse files
committed
Rename const.
1 parent 37bfb7c commit 25275ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Renci.SshNet/ServiceFactory.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ from s in serverAlgorithms
101101

102102
public ISftpFileReader CreateSftpFileReader(string fileName, ISftpSession sftpSession, uint bufferSize)
103103
{
104-
const int DefaultMaxPendingReads = 3;
104+
const int defaultMaxPendingReads = 3;
105105

106106
var openAsyncResult = sftpSession.BeginOpen(fileName, Flags.Read, null, null);
107107
var statAsyncResult = sftpSession.BeginLStat(fileName, null, null);
@@ -122,7 +122,7 @@ public ISftpFileReader CreateSftpFileReader(string fileName, ISftpSession sftpSe
122122
catch (SshException ex)
123123
{
124124
fileSize = null;
125-
maxPendingReads = DefaultMaxPendingReads;
125+
maxPendingReads = defaultMaxPendingReads;
126126

127127
DiagnosticAbstraction.Log(string.Format("Failed to obtain size of file. Allowing maximum {0} pending reads: {1}", maxPendingReads, ex));
128128
}

0 commit comments

Comments
 (0)