Use that new define everywhere

Now there are no uses of DEBUG_ONLY() left :(


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1349 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2009-01-25 16:51:54 +00:00
parent 8d8bbb0920
commit 235b10c200
15 changed files with 80 additions and 83 deletions

View File

@@ -206,7 +206,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) << endl);
DEBUG("CFile::Copy() failed: " << strerror(errno));
OldFile.Close();
// That file is only a partial copy, get rid of it