]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Correct fr_fatal_assert macro
authorNick Porter <nick@portercomputing.co.uk>
Wed, 4 Sep 2024 09:04:24 +0000 (10:04 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Wed, 4 Sep 2024 09:04:24 +0000 (10:04 +0100)
src/lib/util/debug.h

index a40c7321e60653f7fc201b7bdc5a33447a49f64a..3b81bd497a332061c1a1d6d955ea56935f054a28 100644 (file)
@@ -164,7 +164,7 @@ NEVER_RETURNS void  _fr_exit(char const *file, int line, int status, bool now);
  *
  * @param _x expression to test (should evaluate to true)
  */
-#define                fr_fatal_assert(_x) if (unlikely(!((bool)(_x)))) _fr_assert_exit(__FILE__, __LINE__, #_x, NULL))
+#define                fr_fatal_assert(_x) if (unlikely(!((bool)(_x)))) _fr_assert_fatal(__FILE__, __LINE__, #_x, NULL)
 
 /** Calls panic_action ifndef NDEBUG, else logs error and causes the server to exit immediately with code 134
  *