- fixed wrong check for empty itemId

pull/396/head
Michael Zillgith 3 years ago
parent 30217b41cc
commit 4fb8113821

@ -3231,7 +3231,7 @@ IedConnection_deleteDataSetAsync(IedConnection self, IedClientError* error, cons
MmsError mmsError;
if ((domainId == NULL) || (itemId == NULL)) {
if ((domainId == NULL) || (itemId[0] == 0)) {
*error = IED_ERROR_OBJECT_REFERENCE_INVALID;
return 0;
}

Loading…
Cancel
Save