Remove that useless and more or less unused enum for open() modes

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1361 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2009-02-02 15:03:32 +00:00
parent aba7ae9973
commit a6995ba59a
2 changed files with 1 additions and 8 deletions
-7
View File
@@ -26,13 +26,6 @@ public:
CFile(int iFD, const CString& sLongName);
~CFile();
enum EOptions {
F_Read = O_RDONLY,
F_Write = O_WRONLY,
F_Create = O_CREAT,
F_Truncate = O_TRUNC
};
enum EFileTypes {
FT_REGULAR,
FT_DIRECTORY,
+1 -1
View File
@@ -132,7 +132,7 @@ bool CHTTPSock::PrintFile(const CString& sFileName, CString sContentType) {
CFile File(sFilePath);
if (!File.Open(CFile::F_Read)) {
if (!File.Open()) {
PrintNotFound();
return false;
}