Report zero-length reads as successful.

I've encountered a server that sometimes sends zero-size cursor updates, which can trigger this case.
This commit is contained in:
Stephen Heumann 2016-09-05 21:52:24 -05:00
parent af7b5b8119
commit 462b351425

View File

@ -351,6 +351,8 @@ BOOLEAN DoReadTCP (unsigned long dataLength) {
static srBuff theSRBuff;
static rrBuff theRRBuff;
if (dataLength == 0)
return TRUE;
DoneWithReadBuffer();
TCPIPPoll();