projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Corrected the last addition to man/nmh.man. Might be nicer to explain
[mmh]
/
uip
/
inc.c
diff --git
a/uip/inc.c
b/uip/inc.c
index
72c79b7
..
8716edd
100644
(file)
--- a/
uip/inc.c
+++ b/
uip/inc.c
@@
-89,9
+89,11
@@
static struct swit switches[] = {
{ "snoop", -5 },
#define SASLSW 20
{ "sasl", SASLminc(-4) },
{ "snoop", -5 },
#define SASLSW 20
{ "sasl", SASLminc(-4) },
-#define SASLMECHSW 21
+#define NOSASLSW 21
+ { "nosasl", SASLminc(-6) },
+#define SASLMECHSW 22
{ "saslmech", SASLminc(-8) },
{ "saslmech", SASLminc(-8) },
-#define PROXYSW 22
+#define PROXYSW 23
{ "proxy command", 0 },
{ NULL, 0 }
};
{ "proxy command", 0 },
{ NULL, 0 }
};
@@
-335,7
+337,7
@@
main (int argc, char **argv)
continue;
case PORTSW:
continue;
case PORTSW:
- if (!(host = *argp++) || *port == '-')
+ if (!(port = *argp++) || *port == '-')
adios (NULL, "missing argument to %s", argp[-2]);
continue;
adios (NULL, "missing argument to %s", argp[-2]);
continue;
@@
-359,6
+361,9
@@
main (int argc, char **argv)
case SASLSW:
sasl++;
continue;
case SASLSW:
sasl++;
continue;
+ case NOSASLSW:
+ sasl = 0;
+ continue;
case SASLMECHSW:
if (!(saslmech = *argp++) || *saslmech == '-')
case SASLMECHSW:
if (!(saslmech = *argp++) || *saslmech == '-')