瀏覽代碼

Fix compilation with UA_ENABLE_UNIT_TEST_FAILURE_HOOKS CMake option enabled

Silvio Traversaro 5 年之前
父節點
當前提交
9e3c06a0b7
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;
     retval = connection->send(connection, &buf);
 #ifdef UA_ENABLE_UNIT_TEST_FAILURE_HOOKS
-    retval |= sendAsym_sendFailure
+    retval |= sendAsym_sendFailure;
 #endif
     return retval;