mirror of
https://github.com/znc/znc.git
synced 2026-05-06 05:22:26 +02:00
Fix a bug introduced in r1280
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1287 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -204,7 +204,7 @@ bool CFile::Copy(const CString& sOldFileName, const CString& sNewFileName, bool
|
||||
|
||||
while ((len = OldFile.Read(szBuf, 8192))) {
|
||||
if (len < 0) {
|
||||
DEBUG_ONLY(cout << "CFile::Copy() failed: " << strerror(errno);)
|
||||
DEBUG_ONLY(cout << "CFile::Copy() failed: " << strerror(errno) << endl);
|
||||
OldFile.Close();
|
||||
|
||||
// That file is only a partial copy, get rid of it
|
||||
|
||||
Reference in New Issue
Block a user