diff options
Diffstat (limited to 'src/printforward.c')
-rw-r--r-- | src/printforward.c | 4 |
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"); |