diff --git a/src/iec61850/client/ied_connection.c b/src/iec61850/client/ied_connection.c index 5bd1a40b..7bb8a1f2 100644 --- a/src/iec61850/client/ied_connection.c +++ b/src/iec61850/client/ied_connection.c @@ -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; }