projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove stdio internals manipulation in sbr/m_getfld.c
[mmh]
/
uip
/
mhfree.c
diff --git
a/uip/mhfree.c
b/uip/mhfree.c
index
bf3382c
..
c873066
100644
(file)
--- a/
uip/mhfree.c
+++ b/
uip/mhfree.c
@@
-11,6
+11,7
@@
#include <errno.h>
#include <h/mime.h>
#include <h/mhparse.h>
#include <errno.h>
#include <h/mime.h>
#include <h/mhparse.h>
+#include <unistd.h>
/* The list of top-level contents to display */
CT *cts = NULL;
/* The list of top-level contents to display */
CT *cts = NULL;
@@
-22,7
+23,7
@@
void free_content(CT);
void free_header(CT);
void free_ctinfo(CT);
void free_encoding(CT, int);
void free_header(CT);
void free_ctinfo(CT);
void free_encoding(CT, int);
-void freects_done(int);
+void freects_done();
/*
** static prototypes
/*
** static prototypes
@@
-261,13
+262,13
@@
free_encoding(CT ct, int toplevel)
void
void
-freects_done(int status)
+freects_done()
{
CT *ctp;
{
CT *ctp;
- if ((ctp = cts))
- for (; *ctp; ctp++)
+ if ((ctp = cts)) {
+ for (; *ctp; ctp++){
free_content(*ctp);
free_content(*ctp);
-
- exit(status);
+ }
+ }
}
}