Sfoglia il codice sorgente

adding break in case an ack was found

Stasik0 8 anni fa
parent
commit
8ce1b281f2
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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;
         }
     }