Change Open5GS API for exit (#1069)

This commit is contained in:
Sukchan Lee 2021-06-24 12:44:52 +09:00
parent e1e3f254e2
commit 442e7d44e7
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ static void diam_log_func(int printlevel, const char *format, va_list ap)
break;
case FD_LOG_FATAL:
diam_log_printf(OGS_LOG_FATAL, "%s\n", buffer);
exit(1);
ogs_assert_if_reached();
break;
default:
diam_log_printf(OGS_LOG_ERROR, "[%d] %s\n", printlevel, buffer);