Browse Source

Fix compilation with UA_ENABLE_UNIT_TEST_FAILURE_HOOKS CMake option enabled

Silvio Traversaro 5 years ago
parent
commit
9e3c06a0b7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ua_securechannel.c

+ 1 - 1
src/ua_securechannel.c

@@ -561,7 +561,7 @@ UA_SecureChannel_sendAsymmetricOPNMessage(UA_SecureChannel *channel,
     buf.length = finalLength;
     buf.length = finalLength;
     retval = connection->send(connection, &buf);
     retval = connection->send(connection, &buf);
 #ifdef UA_ENABLE_UNIT_TEST_FAILURE_HOOKS
 #ifdef UA_ENABLE_UNIT_TEST_FAILURE_HOOKS
-    retval |= sendAsym_sendFailure
+    retval |= sendAsym_sendFailure;
 #endif
 #endif
     return retval;
     return retval;