diff options
| author | Matthew Parlane <parlane@gmail.com> | 2013-08-15 20:47:47 +1200 |
|---|---|---|
| committer | Matthew Parlane <parlane@gmail.com> | 2013-08-15 20:47:47 +1200 |
| commit | fede38985e30a07f4fb2cc0819c7547400be5a00 (patch) | |
| tree | 4ccb5a37102b8ef30ee210fc2693f3cdbfaf7b44 /Source/Core/Common | |
| parent | 3f46f26c495102acd4601c3cc63e3c03f987b09d (diff) | |
Replace OpenSSL with PolarSSL
Works on windows, not yet cmake.
Diffstat (limited to 'Source/Core/Common')
| -rw-r--r-- | Source/Core/Common/Src/LogManager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/Src/LogManager.h b/Source/Core/Common/Src/LogManager.h index f704a5d44b..120d7b5f98 100644 --- a/Source/Core/Common/Src/LogManager.h +++ b/Source/Core/Common/Src/LogManager.h @@ -33,7 +33,7 @@ public: void Log(LogTypes::LOG_LEVELS, const char *msg); - bool IsValid() { return (bool)m_logfile; } + bool IsValid() { return !m_logfile.fail(); } bool IsEnabled() const { return m_enable; } void SetEnable(bool enable) { m_enable = enable; } |
