Browse Source

Client: Events check for correct client handle

Stefan Profanter 5 years ago
parent
commit
03bfde2cbe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/client/ua_client_subscriptions.c

+ 1 - 1
src/client/ua_client_subscriptions.c

@@ -524,7 +524,7 @@ processEventNotification(UA_Client *client, UA_Client_Subscription *sub,
         /* Find the MonitoredItem */
         /* Find the MonitoredItem */
         UA_Client_MonitoredItem *mon;
         UA_Client_MonitoredItem *mon;
         LIST_FOREACH(mon, &sub->monitoredItems, listEntry) {
         LIST_FOREACH(mon, &sub->monitoredItems, listEntry) {
-            if(mon->monitoredItemId == eventFieldList->clientHandle)
+            if(mon->clientHandle == eventFieldList->clientHandle)
                 break;
                 break;
         }
         }