projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cope with sasl_decode64() returning SASL_CONTINUE as well as SASL_OK.
[mmh]
/
uip
/
prompter.c
diff --git
a/uip/prompter.c
b/uip/prompter.c
index
e1f0e8d
..
35f6860
100644
(file)
--- a/
uip/prompter.c
+++ b/
uip/prompter.c
@@
-3,6
+3,10
@@
* prompter.c -- simple prompting editor front-end
*
* $Id$
* 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 <h/mh.h>
*/
#include <h/mh.h>
@@
-56,11
+60,10
@@
static struct swit switches[] = {
#define VERSIONSW 10
{ "version", 0 },
#define HELPSW 11
#define VERSIONSW 10
{ "version", 0 },
#define HELPSW 11
- { "help", 4 },
+ { "help", 0 },
{ NULL, 0 }
};
{ NULL, 0 }
};
-extern int errno;
#ifdef HAVE_TERMIOS_H
static struct termios tio;
#ifdef HAVE_TERMIOS_H
static struct termios tio;
@@
-397,7
+400,8
@@
no_body:
unlink (tmpfil);
context_save (); /* save the context file */
unlink (tmpfil);
context_save (); /* save the context file */
- return done (0);
+ done (0);
+ return 1;
}
}