projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor layout fix in man page mhparam(1).
[mmh]
/
uip
/
mhtest.c
diff --git
a/uip/mhtest.c
b/uip/mhtest.c
index
1f6846b
..
164d390
100644
(file)
--- a/
uip/mhtest.c
+++ b/
uip/mhtest.c
@@
-12,17
+12,12
@@
#include <h/md5.h>
#include <errno.h>
#include <signal.h>
#include <h/md5.h>
#include <errno.h>
#include <signal.h>
-#include <h/mts.h>
#include <h/tws.h>
#include <h/mime.h>
#include <h/mhparse.h>
#include <h/mhcachesbr.h>
#include <h/utils.h>
#include <h/tws.h>
#include <h/mime.h>
#include <h/mhparse.h>
#include <h/mhcachesbr.h>
#include <h/utils.h>
-#ifdef HAVE_SYS_WAIT_H
-# include <sys/wait.h>
-#endif
-
static struct swit switches[] = {
#define CHECKSW 0
{ "check", 0 },
static struct swit switches[] = {
#define CHECKSW 0
{ "check", 0 },
@@
-48,10
+43,6
@@
static struct swit switches[] = {
{ "version", 0 },
#define HELPSW 11
{ "help", 0 },
{ "version", 0 },
#define HELPSW 11
{ "help", 0 },
-
-/*
-** switches for debugging
-*/
#define DEBUGSW 12
{ "debug", -5 },
{ NULL, 0 }
#define DEBUGSW 12
{ "debug", -5 },
{ NULL, 0 }
@@
-108,7
+99,7
@@
void freects_done(int) NORETURN;
** static prototypes
*/
static int write_content(CT *, char *);
** static prototypes
*/
static int write_content(CT *, char *);
-static RETSIGTYPE pipeser(int);
+static void pipeser(int);
int
int
@@
-272,14
+263,14
@@
do_cache:
adios(NULL, "out of memory");
ctp = cts;
adios(NULL, "out of memory");
ctp = cts;
- if ((ct = parse_mime(file)));
+ if ((ct = parse_mime(file)))
*ctp++ = ct;
} else {
/*
** message(s) are coming from a folder
*/
if (!msgs.size)
*ctp++ = ct;
} else {
/*
** message(s) are coming from a folder
*/
if (!msgs.size)
- app_msgarg(&msgs, "cur");
+ app_msgarg(&msgs, seq_cur);
if (!folder)
folder = getcurfol();
maildir = toabsdir(folder);
if (!folder)
folder = getcurfol();
maildir = toabsdir(folder);
@@
-379,7
+370,7
@@
write_content(CT *cts, char *outfile)
}
}
-static RETSIGTYPE
+static void
pipeser(int i)
{
if (i == SIGQUIT) {
pipeser(int i)
{
if (i == SIGQUIT) {