Switch to unified view

a/libupnpp/device.cxx b/libupnpp/device.cxx
...
...
55
        LOGERR("vectorstoargslists: bad sizes" << endl);
55
        LOGERR("vectorstoargslists: bad sizes" << endl);
56
        return false;
56
        return false;
57
    }
57
    }
58
58
59
    cnames.reserve(names.size());
59
    cnames.reserve(names.size());
60
    for (unsigned int i = 0; i < names.size(); i++) {
61
        cnames.push_back(names[i].c_str());
62
    }
63
    qvalues.clear();
60
    qvalues.clear();
64
    qvalues.reserve(values.size());
61
    qvalues.reserve(values.size());
65
    cvalues.reserve(values.size());
62
    cvalues.reserve(values.size());
66
    for (unsigned int i = 0; i < values.size(); i++) {
63
    for (unsigned int i = 0; i < values.size(); i++) {
64
        cnames.push_back(names[i].c_str());
67
        qvalues.push_back(xmlquote(values[i]));
65
        qvalues.push_back(xmlquote(values[i]));
68
        cvalues.push_back(qvalues[i].c_str());
66
        cvalues.push_back(qvalues[i].c_str());
67
        //LOGDEB("Edata: " << cnames[i] << " -> " << cvalues[i] << endl);
69
    }
68
    }
70
    return true;
69
    return true;
71
}
70
}
72
71
73
UpnpDevice::UpnpDevice(const string& deviceId, 
72
UpnpDevice::UpnpDevice(const string& deviceId,