From a1b44b4e8d853b8be88efd6a63ceacc02259642a Mon Sep 17 00:00:00 2001 From: Michele Dionisio Date: Mon, 3 Aug 2026 11:41:05 +0200 Subject: [PATCH] fix error condition check --- src/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options.c b/src/options.c index 1ed752b7c..0f222ecd9 100644 --- a/src/options.c +++ b/src/options.c @@ -570,7 +570,7 @@ static void mi_error_default(int err) { } #endif #if defined(MI_XMALLOC) - if (err==ENOMEM || err==EOVERFLOW || err=EINVAL) { // abort on memory allocation fails in xmalloc mode + if (err==ENOMEM || err==EOVERFLOW || err==EINVAL) { // abort on memory allocation fails in xmalloc mode abort(); } #endif