WoutvdBerg лет назад: 7
Родитель
Сommit
c311213293
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/client/ua_client_highlevel_subscriptions.c

+ 1 - 1
src/client/ua_client_highlevel_subscriptions.c

@@ -191,7 +191,7 @@ addMonitoredItems(UA_Client *client, const UA_UInt32 subscriptionId,
         newMonitoredItemIds[i] = newMon->monitoredItemId;
         UA_LOG_DEBUG(client->config.logger, UA_LOGCATEGORY_CLIENT,
                      "Created a monitored item with client handle %u",
-                     client->monitoredItemHandles);
+                     newMon->clientHandle);
     }
 
  cleanup: