Browse Source

fix node copying

Julius Pfrommer 10 years ago
parent
commit
d051f39f17
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/ua_types.c

+ 1 - 0
src/ua_types.c

@@ -456,6 +456,7 @@ UA_StatusCode UA_NodeId_copy(UA_NodeId const *src, UA_NodeId *dst) {
         UA_NodeId_init(dst);
         return UA_STATUSCODE_BADINTERNALERROR;
     }
+    dst->namespaceIndex = src->namespaceIndex;
     dst->identifierType = src->identifierType;
     if(retval)
         UA_NodeId_deleteMembers(dst);