Switch to side-by-side view
--- a/libupnpp/control/description.cxx +++ b/libupnpp/control/description.cxx @@ -220,9 +220,9 @@ case 'd': if (!strcmp(name, "direction")) { if (!lastelt.data.compare("in")) { + m_targ.todevice = true; + } else { m_targ.todevice = false; - } else { - m_targ.todevice = true; } } else if (!strcmp(name, "dataType")) { m_tvar.dataType = lastelt.data;