Switch to unified view

a/libupnpp/upnpplib.cxx b/libupnpp/upnpplib.cxx
...
...
86
    ixmlRelaxParser(1);
86
    ixmlRelaxParser(1);
87
}
87
}
88
88
89
int LibUPnP::setupWebServer(const string& description)
89
int LibUPnP::setupWebServer(const string& description)
90
{
90
{
91
  //static const string description("/tmp/description.xml");
92
  //m_init_error = UpnpSetWebServerRootDir("/tmp/root");
93
    int res = UpnpRegisterRootDevice2(
91
    int res = UpnpRegisterRootDevice2(
94
        UPNPREG_BUF_DESC,
92
        UPNPREG_BUF_DESC,
95
        description.c_str(), 
93
        description.c_str(), 
96
        description.size(), /* Desc filename len, ignored */
94
        description.size(), /* Desc filename len, ignored */
97
        1, /* URLBase*/
95
        1, /* URLBase*/