projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Signed-off-by: Ken Hornstein <kenh@pobox.com>
[mmh]
/
uip
/
ap.c
diff --git
a/uip/ap.c
b/uip/ap.c
index
11381f3
..
a0f7f77
100644
(file)
--- a/
uip/ap.c
+++ b/
uip/ap.c
@@
-2,12
+2,15
@@
/*
* ap.c -- parse addresses 822-style
*
/*
* ap.c -- parse addresses 822-style
*
- * $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/addrsbr.h>
#include <h/fmt_scan.h>
*/
#include <h/mh.h>
#include <h/addrsbr.h>
#include <h/fmt_scan.h>
+#include <h/mts.h>
#define NADDRS 100
#define NADDRS 100
@@
-30,7
+33,7
@@
static struct swit switches[] = {
#define VERSIONSW 5
{ "version", 0 },
#define HELPSW 6
#define VERSIONSW 5
{ "version", 0 },
#define HELPSW 6
- { "help", 4 },
+ { "help", 0 },
{ NULL, 0 }
};
{ NULL, 0 }
};
@@
-146,7
+149,8
@@
main (int argc, char **argv)
for (addrp = 0; addrs[addrp]; addrp++)
status += process (addrs[addrp], width, normalize);
for (addrp = 0; addrs[addrp]; addrp++)
status += process (addrs[addrp], width, normalize);
- return done (status);
+ done (status);
+ return 1;
}
struct pqpair {
}
struct pqpair {