Switch to unified view

a/libupnpp/log.cpp b/libupnpp/log.cpp
...
...
29
}
29
}
30
30
31
bool Logger::reopen(const std::string& fn)
31
bool Logger::reopen(const std::string& fn)
32
{
32
{
33
#if LOGGER_THREADSAFE
33
#if LOGGER_THREADSAFE
34
    std::unique_lock<std::mutex> lock(m_mutex);
34
    std::unique_lock<std::recursive_mutex> lock(m_mutex);
35
#endif
35
#endif
36
    if (!fn.empty()) {
36
    if (!fn.empty()) {
37
        m_fn = fn;
37
        m_fn = fn;
38
    }
38
    }
39
    if (!m_tocerr && m_stream.is_open()) {
39
    if (!m_tocerr && m_stream.is_open()) {