diff options
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/ftp/ftpdirp.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/ftp/ftpdirp.hxx b/ucb/source/ucp/ftp/ftpdirp.hxx index 54249ee8c12f..13d507475b37 100644 --- a/ucb/source/ucp/ftp/ftpdirp.hxx +++ b/ucb/source/ucp/ftp/ftpdirp.hxx @@ -105,11 +105,11 @@ namespace ftp { } bool isDir() const { - return bool(m_nMode && INETCOREFTP_FILEMODE_ISDIR); + return (m_nMode & INETCOREFTP_FILEMODE_ISDIR) != 0; } bool isFile() const { - return ! bool(m_nMode && INETCOREFTP_FILEMODE_ISDIR); + return (m_nMode & INETCOREFTP_FILEMODE_ISDIR) == 0; } }; |