From 2d542a6c14625efa1b2c6249972bd36e117e3fa8 Mon Sep 17 00:00:00 2001 From: la-ninpre Date: Fri, 10 Sep 2021 17:08:07 +0000 Subject: added compiler info to nimisewi also removed error checks from nimisewi, nimisewi.cgi and nimisewi_gemini.cgi because this error check has to happen inside nimi_sewi() and not in those programs. FossilOrigin-Name: 2fd4c9495753569c904132ee83cd5f14662389c69399c27f289e0e3ae35aa0cb --- nimisewi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nimisewi.c') diff --git a/nimisewi.c b/nimisewi.c index 989e227..28d79a6 100644 --- a/nimisewi.c +++ b/nimisewi.c @@ -218,7 +218,7 @@ char nimi_pana = calloc(nn->suli_pi_nimi_sewi + 1, sizeof(char)); if (nimi_pana == NULL) { weka_e_nanpa_nimi(nn); - return NULL; + err(EXIT_FAILURE, "memory allocation failed"); } for (i = 0; i < nn->nanpa_nimi; i++) { -- cgit v1.2.3