X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fprompter.c;h=35f6860a4ac49536a06f085991d56daf24b09294;hp=bc194ffec3f508dc93c1cfc026176aeca54676ab;hb=d8916ff5d389de5ab225cd6f40aeda1b285d0f28;hpb=6c42153ad9362cc676ea66563bf400d7511b3b68 diff --git a/uip/prompter.c b/uip/prompter.c index bc194ff..35f6860 100644 --- a/uip/prompter.c +++ b/uip/prompter.c @@ -64,7 +64,6 @@ static struct swit switches[] = { { NULL, 0 } }; -extern int errno; #ifdef HAVE_TERMIOS_H static struct termios tio; @@ -401,7 +400,8 @@ no_body: unlink (tmpfil); context_save (); /* save the context file */ - return done (0); + done (0); + return 1; }