summaryrefslogtreecommitdiffstats
path: root/ucs2-interface/ucs-xml
diff options
context:
space:
mode:
authorThorsten Kummermehr <thorsten.kummermehr@k2l.de>2017-11-07 16:03:53 +0100
committerThorsten Kummermehr <thorsten.kummermehr@k2l.de>2017-11-07 16:03:53 +0100
commit067b13da30b0f0c3a10000080994c644b1cdc542 (patch)
treed5735f3683bf23f9a33b236116124143b699d986 /ucs2-interface/ucs-xml
parent81e5dad8294f20c3cb69383d0a6e8b04c3579094 (diff)
Fix wrong iteration over all ports
Diffstat (limited to 'ucs2-interface/ucs-xml')
-rw-r--r--ucs2-interface/ucs-xml/UcsXml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucs2-interface/ucs-xml/UcsXml.c b/ucs2-interface/ucs-xml/UcsXml.c
index 8837356..943f43b 100644
--- a/ucs2-interface/ucs-xml/UcsXml.c
+++ b/ucs2-interface/ucs-xml/UcsXml.c
@@ -756,7 +756,7 @@ static ParseResult_t ParseNode(mxml_node_t *node, PrivateData_t *priv)
UcsXml_CB_OnError("Unknown Port:'%s'", 1, txt);
RETURN_ASSERT(Parse_XmlError);
}
- if(!GetElementArray(port, ALL_SOCKETS, &txt, &port))
+ if(!GetElementArray(port, ALL_PORTS, &txt, &port))
break;
}
}