summaryrefslogtreecommitdiff
path: root/src/printforward.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-03 19:03:11 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-03 19:03:11 +0200
commit20b85c03e751b4876fa3c92040464e483172b746 (patch)
tree734fadbfdbc143ec4465093857f4c239448715e0 /src/printforward.c
parenta6a7d6ce079cabdaf2fa502b2e2cf15e5428ac6f (diff)
manual format adjustment
Diffstat (limited to 'src/printforward.c')
-rw-r--r--src/printforward.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/printforward.c b/src/printforward.c
index 594ccad..ae5d26c 100644
--- a/src/printforward.c
+++ b/src/printforward.c
@@ -11,6 +11,7 @@ void badformat()
{
logmsg(WHO, 100, FATAL, "bad database format");
}
+
void nomem()
{
logmsg(WHO, 111, FATAL, "out of memory");
@@ -124,8 +125,9 @@ int main()
}
if (i != j) badformat();
printbuf(";\n");
- } else
+ } else {
badformat();
+ }
}
if (buffer_flush(buffer_1small) == -1) logmsg(WHO, 111, FATAL, "unable to write output");