Switch to unified view

a/src/mpdcli.cxx b/src/mpdcli.cxx
...
...
117
        if (!mpd_run_password(M_CONN, m_password.c_str())) {
117
        if (!mpd_run_password(M_CONN, m_password.c_str())) {
118
            LOGERR("Password wrong" << endl);
118
            LOGERR("Password wrong" << endl);
119
            return false;
119
            return false;
120
        }
120
        }
121
    }
121
    }
122
123
    const unsigned int *vers = mpd_connection_get_server_version(M_CONN);
124
    m_stat.versmajor = vers[0];
125
    m_stat.versminor = vers[1];
126
    m_stat.verspatch = vers[2];
127
    LOGDEB("MPDCLi::openconn: mpd protocol version: " << m_stat.versmajor
128
           << "." << m_stat.versminor << "." << m_stat.verspatch << endl);
129
122
    return true;
130
    return true;
123
}
131
}
124
132
125
bool MPDCli::showError(const string& who)
133
bool MPDCli::showError(const string& who)
126
{
134
{