From 9bec4b8048f65006ddf85aac825c4948e44363ae Mon Sep 17 00:00:00 2001 From: silverleo Date: Tue, 9 Dec 2008 20:25:34 +0000 Subject: [PATCH] Fix a bug introduced in r1280 git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1287 726aef4b-f618-498e-8847-2d620e286838 --- FileUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FileUtils.cpp b/FileUtils.cpp index c7800801..4a171101 100644 --- a/FileUtils.cpp +++ b/FileUtils.cpp @@ -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