Browse Source

adding break in case an ack was found

Stasik0 8 years ago
parent
commit
8ce1b281f2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/client/ua_client_highlevel_subscriptions.c

+ 1 - 0
src/client/ua_client_highlevel_subscriptions.c

@@ -232,6 +232,7 @@ UA_Client_processPublishResponse(UA_Client *client, UA_PublishRequest *request,
                 continue;
             LIST_REMOVE(ack, listEntry);
             UA_free(ack);
+            break;
         }
     }