X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/017a82124bf2ea39ced5aa4c8f969c18b3c2fb90..386656ec3d9a80184f380a77169dc0a16bad89d5:/uip/prompter.c diff --git a/uip/prompter.c b/uip/prompter.c index 79e0eb79..35f6860a 100644 --- a/uip/prompter.c +++ b/uip/prompter.c @@ -3,6 +3,10 @@ * prompter.c -- simple prompting editor front-end * * $Id$ + * + * This code is Copyright (c) 2002, by the authors of nmh. See the + * COPYRIGHT file in the root directory of the nmh distribution for + * complete copyright information. */ #include @@ -60,7 +64,6 @@ static struct swit switches[] = { { NULL, 0 } }; -extern int errno; #ifdef HAVE_TERMIOS_H static struct termios tio; @@ -397,7 +400,8 @@ no_body: unlink (tmpfil); context_save (); /* save the context file */ - return done (0); + done (0); + return 1; }