mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Make CFile::Delete() return a bool (true for success)
The static version of CFile::Delete() already does so. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@946 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -156,7 +156,7 @@ int CFile::GetInfo(const CString& sFile, struct stat& st) {
|
||||
//
|
||||
// Functions to manipulate the file on the filesystem
|
||||
//
|
||||
int CFile::Delete() { return CFile::Delete(m_sLongName); }
|
||||
bool CFile::Delete() { return CFile::Delete(m_sLongName); }
|
||||
int CFile::Move(const CString& sNewFileName, bool bOverwrite) {
|
||||
return CFile::Move(m_sLongName, sNewFileName, bOverwrite);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user