Переглянути джерело

fix client handle logging

WoutvdBerg 7 роки тому
батько
коміт
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: