Sfoglia il codice sorgente

Fix response type in UA_Client_MonitoredItems_modify

Jannis Voelker 6 anni fa
parent
commit
2fc7c34b86
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      include/ua_client_subscriptions.h

+ 1 - 1
include/ua_client_subscriptions.h

@@ -177,7 +177,7 @@ UA_Client_MonitoredItems_modify(UA_Client *client,
     UA_ModifyMonitoredItemsResponse response;
     __UA_Client_Service(client,
                         &request, &UA_TYPES[UA_TYPES_MODIFYMONITOREDITEMSREQUEST],
-                        &response, &UA_TYPES[UA_TYPES_MODIFYSUBSCRIPTIONRESPONSE]);
+                        &response, &UA_TYPES[UA_TYPES_MODIFYMONITOREDITEMSRESPONSE]);
     return response;
 }