|
a/libupnpp/control/cdircontent.cxx |
|
b/libupnpp/control/cdircontent.cxx |
|
... |
|
... |
82 |
}
|
82 |
}
|
83 |
}
|
83 |
}
|
84 |
|
84 |
|
85 |
virtual bool checkobjok()
|
85 |
virtual bool checkobjok()
|
86 |
{
|
86 |
{
|
|
|
87 |
// I don't see the point of this checking any more. Let the caller deal
|
|
|
88 |
// with filtering entries.
|
|
|
89 |
return true;
|
|
|
90 |
|
87 |
bool ok = !m_tobj.m_id.empty() && !m_tobj.m_pid.empty() &&
|
91 |
bool ok = !m_tobj.m_id.empty() && !m_tobj.m_pid.empty() &&
|
88 |
!m_tobj.m_title.empty();
|
92 |
!m_tobj.m_title.empty();
|
89 |
|
93 |
|
90 |
if (ok && m_tobj.m_type == UPnPDirObject::item) {
|
94 |
if (ok && m_tobj.m_type == UPnPDirObject::item) {
|
91 |
map<string, UPnPDirObject::ItemClass>::const_iterator it;
|
95 |
map<string, UPnPDirObject::ItemClass>::const_iterator it;
|