Switch to unified view

a/src/mpdcli.cxx b/src/mpdcli.cxx
...
...
714
{
714
{
715
    LOGDEB("MPDCli::insert at :" << pos << " uri " << uri << endl);
715
    LOGDEB("MPDCli::insert at :" << pos << " uri " << uri << endl);
716
    if (!ok())
716
    if (!ok())
717
        return -1;
717
        return -1;
718
718
719
    if (pos == -1) {
719
    RETRY_CMD((m_lastinsertid = 
720
        RETRY_CMD((m_lastinsertid = 
721
                   mpd_run_add_id(M_CONN, uri.c_str())) != -1);
722
    } else {        
723
        RETRY_CMD((m_lastinsertid = 
720
               mpd_run_add_id_to(M_CONN, uri.c_str(), (unsigned)pos)) != -1);
724
                  mpd_run_add_id_to(M_CONN, uri.c_str(), (unsigned)pos)) != -1);
725
    }
721
    
726
    
722
    if (m_have_addtagid)
727
    if (m_have_addtagid)
723
        send_tag_data(m_lastinsertid, meta);
728
        send_tag_data(m_lastinsertid, meta);
724
729
725
    m_lastinsertpos = pos;
730
    m_lastinsertpos = pos;