Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Change PuttyBase.Connect() to use MaxPuttyWaitTime setting instead of…

… hard coded value.
  • Loading branch information...
commit adb45cec98b585b086f395f0e5b114c16641decc 1 parent c09ea26
@rmcardle authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mRemoteV1/Connection/Connection.Protocol.PuttyBase.vb
View
2  mRemoteV1/Connection/Connection.Protocol.PuttyBase.vb
@@ -159,7 +159,7 @@ Namespace Connection
PuttyProcess.WaitForInputIdle()
Dim startTicks As Integer = Environment.TickCount
- While PuttyHandle.ToInt32 = 0 And Environment.TickCount < startTicks + 5000
+ While PuttyHandle.ToInt32 = 0 And Environment.TickCount < startTicks + (My.Settings.MaxPuttyWaitTime * 1000)
If _isPuttyNg Then
PuttyHandle = FindWindowEx(InterfaceControl.Handle, 0, vbNullString, vbNullString)
Else
Please sign in to comment.
Something went wrong with that request. Please try again.