aboutsummaryrefslogtreecommitdiffstats
path: root/nimisewi.c
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2021-09-10 17:08:07 +0000
committerla-ninpre <leobrekalini@gmail.com>2021-09-10 17:08:07 +0000
commit2d542a6c14625efa1b2c6249972bd36e117e3fa8 (patch)
treeadff9bb9a2a159caec94f2f7e375e79ee0abe5aa /nimisewi.c
parent00981834d98546471e30441979a36dac52a76ecd (diff)
downloadnimisewi_c-2d542a6c14625efa1b2c6249972bd36e117e3fa8.tar.gz
nimisewi_c-2d542a6c14625efa1b2c6249972bd36e117e3fa8.zip
added compiler info to nimisewiv0.3.1
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
Diffstat (limited to 'nimisewi.c')
-rw-r--r--nimisewi.c2
1 files changed, 1 insertions, 1 deletions
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++) {