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:
silverleo
2008-12-09 20:25:34 +00:00
parent 8db106bf6b
commit 9bec4b8048

View File

@@ -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