Explorar o código

Merge pull request #804 from StalderT/patch-3

Update ua_connection.c
Julius Pfrommer %!s(int64=8) %!d(string=hai) anos
pai
achega
27eb83b9b6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/ua_connection.c

+ 1 - 1
src/ua_connection.c

@@ -113,7 +113,7 @@ UA_Connection_completeMessages(UA_Connection *connection, UA_ByteString * UA_RES
         retval = UA_ByteString_allocBuffer(&connection->incompleteMessage, incomplete_length);
         if(retval != UA_STATUSCODE_GOOD)
             goto cleanup;
-        memcpy(&connection->incompleteMessage.data, &message->data[complete_until], incomplete_length);
+        memcpy(connection->incompleteMessage.data, &message->data[complete_until], incomplete_length);
         message->length = complete_until;
     }