Quantcast
Channel: sshnet Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1026

Edited Unassigned: Incorrect check for timeout values [1620]

$
0
0
In ShellStream.cs we see this four times:

> if (timeout != null)
> {...}

Well, _timeout_ is a value type and it will never be "null", meaning in the above expression it wall always evaluate to true.

I fixed it locally by replacing the above with:

> if (timeout.Ticks > 0)
> {...}

Viewing all articles
Browse latest Browse all 1026

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>