From 472e586a149f7c97b1e3cf5ea5d8a7507da955c5 Mon Sep 17 00:00:00 2001 From: Michael Zillgith Date: Tue, 12 Oct 2021 09:45:34 +0200 Subject: [PATCH] - IedConnection_getLogicalDeviceVariablesAsync: fixed wrong parameter order when calling MMS layer --- src/iec61850/client/ied_connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);