|
a/libupnpp/control/description.cxx |
|
b/libupnpp/control/description.cxx |
|
... |
|
... |
218 |
}
|
218 |
}
|
219 |
break;
|
219 |
break;
|
220 |
case 'd':
|
220 |
case 'd':
|
221 |
if (!strcmp(name, "direction")) {
|
221 |
if (!strcmp(name, "direction")) {
|
222 |
if (!lastelt.data.compare("in")) {
|
222 |
if (!lastelt.data.compare("in")) {
|
|
|
223 |
m_targ.todevice = true;
|
|
|
224 |
} else {
|
223 |
m_targ.todevice = false;
|
225 |
m_targ.todevice = false;
|
224 |
} else {
|
|
|
225 |
m_targ.todevice = true;
|
|
|
226 |
}
|
226 |
}
|
227 |
} else if (!strcmp(name, "dataType")) {
|
227 |
} else if (!strcmp(name, "dataType")) {
|
228 |
m_tvar.dataType = lastelt.data;
|
228 |
m_tvar.dataType = lastelt.data;
|
229 |
trimstring(m_tvar.dataType);
|
229 |
trimstring(m_tvar.dataType);
|
230 |
}
|
230 |
}
|