diff --git a/src/iec61850/client/ied_connection.c b/src/iec61850/client/ied_connection.c index 3dbd7c12..3eb1d371 100644 --- a/src/iec61850/client/ied_connection.c +++ b/src/iec61850/client/ied_connection.c @@ -1023,7 +1023,7 @@ IedConnection_getLogicalDeviceVariablesAsync(IedConnection self, IedClientError* MmsError err = MMS_ERROR_NONE; - MmsConnection_getDomainVariableNamesAsync(self->connection, &err, &(call->invokeId), ldName, continueAfter, result, getNameListHandler, self); + MmsConnection_getDomainVariableNamesAsync(self->connection, &(call->invokeId), &err, ldName, continueAfter, result, getNameListHandler, self); if (err != MMS_ERROR_NONE) { *error = iedConnection_mapMmsErrorToIedError(err);