fuzzing: use abort instead of (private) g_abort

This commit is contained in:
Edward Hervey 2017-11-01 09:55:46 +01:00 committed by Edward Hervey
parent bb4aadf968
commit 39ce1f76a4
2 changed files with 2 additions and 2 deletions

View file

@ -76,7 +76,7 @@ custom_logger (const gchar *log_domain,
{
if (log_level & G_LOG_LEVEL_CRITICAL) {
g_printerr ("CRITICAL ERROR : %s\n", message);
g_abort();
abort();
} else if (log_level & G_LOG_LEVEL_WARNING) {
g_printerr ("WARNING : %s\n", message);
}

View file

@ -49,7 +49,7 @@ custom_logger (const gchar *log_domain,
{
if (log_level & G_LOG_LEVEL_CRITICAL) {
g_printerr ("CRITICAL ERROR : %s\n", message);
g_abort();
abort();
} else if (log_level & G_LOG_LEVEL_WARNING) {
g_printerr ("WARNING : %s\n", message);
}