Switch to unified view

a/libupnpp/control/cdirectory.cxx b/libupnpp/control/cdirectory.cxx
...
...
65
65
66
bool ContentDirectory::getServices(vector<CDSH>& vds)
66
bool ContentDirectory::getServices(vector<CDSH>& vds)
67
{
67
{
68
    //LOGDEB("UPnPDeviceDirectory::getDirServices" << endl);
68
    //LOGDEB("UPnPDeviceDirectory::getDirServices" << endl);
69
    UPnPDeviceDirectory::Visitor visitor = bind(DSAccum, &vds, _1, _2);
69
    UPnPDeviceDirectory::Visitor visitor = bind(DSAccum, &vds, _1, _2);
70
  UPnPDeviceDirectory::getTheDir()->traverse(visitor);
70
    UPnPDeviceDirectory::getTheDir()->traverse(visitor);
71
    return !vds.empty();
71
    return !vds.empty();
72
}
72
}
73
73
74
static bool DSFriendlySelect(const string& friendlyName,
74
static bool DSFriendlySelect(const string& friendlyName,
75
                             bool  *found,
75
                             bool  *found,
...
...
92
                                              CDSH& server)
92
                                              CDSH& server)
93
{
93
{
94
    bool found = false;
94
    bool found = false;
95
    UPnPDeviceDirectory::Visitor visitor = 
95
    UPnPDeviceDirectory::Visitor visitor = 
96
        bind(DSFriendlySelect, friendlyName, &found, &server, _1, _2);
96
        bind(DSFriendlySelect, friendlyName, &found, &server, _1, _2);
97
  UPnPDeviceDirectory::getTheDir()->traverse(visitor);
97
    UPnPDeviceDirectory::getTheDir()->traverse(visitor);
98
    return found;
98
    return found;
99
}
99
}
100
100
101
101
102
#if 0
102
#if 0