fix bug in SourceExhausted()
parent
b3843db743
commit
be0413d4a6
|
|
@ -100,7 +100,7 @@ public:
|
|||
void GetWaitObjects(WaitObjectContainer &container);
|
||||
|
||||
unsigned int GeneralPump2(unsigned long &byteCount, bool blockingOutput=true, unsigned long maxTime=INFINITE_TIME, bool checkDelimiter=false, byte delimiter='\n');
|
||||
bool SourceExhausted() const {return GetReceiver().EofReceived();}
|
||||
bool SourceExhausted() const {return m_dataBegin == m_dataEnd && GetReceiver().EofReceived();}
|
||||
|
||||
protected:
|
||||
virtual NetworkReceiver & AccessReceiver() =0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue