Mop up active Stylecop nits.

Style consistency cleanup.
This commit is contained in:
Peter Antal
2018-02-25 12:41:54 -08:00
committed by Paul Chote
parent 701675fd4c
commit 9ce0bcb0b7
4 changed files with 10 additions and 6 deletions

View File

@@ -55,7 +55,7 @@ namespace OpenRA.Server
// from `socket.Receive(rx)`.
if (!Socket.Poll(0, SelectMode.SelectRead)) break;
if (0 < (len = Socket.Receive(rx)))
if ((len = Socket.Receive(rx)) > 0)
Data.AddRange(rx.Take(len));
else
{