Browse Source

solved merging error (different naming)

FlorianPalm 11 years ago
parent
commit
d5dd42dfba
3 changed files with 2 additions and 3 deletions
  1. 1 1
      src/opcua_binaryEncDec.c
  2. 0 1
      src/opcua_secureChannelLayer.c
  3. 1 1
      src/opcua_time.c

+ 1 - 1
src/opcua_binaryEncDec.c

@@ -1194,7 +1194,7 @@ Int32 encodeVariant(UA_Variant *variant, Int32 *pos, char *dstBuf) {
 				pos, dstBuf);
 		if (variant->ArrayLength > 0) {
 			//encode array as given by variant type
-			encode_builtInDatatypeArray((void*) variant->Value,
+			encoder_encodeBuiltInDatatypeArray((void*) variant->Value,
 					variant->ArrayLength, (variant->EncodingMask & 31), pos,
 					dstBuf);
 		}

+ 0 - 1
src/opcua_secureChannelLayer.c

@@ -651,7 +651,6 @@ Int32 decodeSequenceHeader(UA_ByteString *rawMessage, Int32 *pos,
 		SL_SequenceHeader *SequenceHeader) {
 	decodeUInt32(rawMessage->Data, pos, &(SequenceHeader->SequenceNumber));
 	decodeUInt32(rawMessage->Data, pos, &(SequenceHeader->RequestId));
-	decodeUInt32(rawMessage->Data, pos, &(SequenceHeader->SequenceNumber));
 	return UA_NO_ERROR;
 }
 

+ 1 - 1
src/opcua_time.c

@@ -19,7 +19,7 @@
 
 // IEC 62541-6 §5.2.2.5  A DateTime value shall be encoded as a 64-bit signed integer
 // which represents the number of 100 nanosecond intervals since January 1, 1601 (UTC).
-UA_DateTime opcua_getTime() {
+UA_DateTime opcua_time_now() {
 	UA_DateTime dateTime;
 	struct timeval tv;
 	gettimeofday(&tv, NULL);