mirror of
https://github.com/znc/znc.git
synced 2026-05-07 13:54:47 +02:00
check to see whats remaining in buffer and return true
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@782 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+2
-2
@@ -285,10 +285,10 @@ bool CFile::ReadLine(CString& sData, const CString & sDelimiter) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if( bEOF ) {
|
||||
if( bEOF && m_sBuffer.size() ) {
|
||||
sData = m_sBuffer;
|
||||
m_sBuffer.clear();
|
||||
break;
|
||||
return true;
|
||||
}
|
||||
|
||||
return !bEOF;
|
||||
|
||||
Reference in New Issue
Block a user