projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add some gcc hint defines
[mmh]
/
uip
/
mhbuild.c
diff --git
a/uip/mhbuild.c
b/uip/mhbuild.c
index
fe3e946
..
c032022
100644
(file)
--- a/
uip/mhbuild.c
+++ b/
uip/mhbuild.c
@@
-45,12
+45,13
@@
static struct swit switches[] = {
{ NULL, 0 }
};
{ NULL, 0 }
};
+char *version=VERSION;
/*
** Directory to place tmp files. This must
** be set before these routines are called.
*/
/*
** Directory to place tmp files. This must
** be set before these routines are called.
*/
-char *tmp;
+extern char *tmp;
pid_t xpid = 0;
pid_t xpid = 0;
@@
-414,7
+415,7
@@
build_mime(char *infile)
add_header(ct, np, vp);
/*
add_header(ct, np, vp);
/*
- ** We initally assume we will find multiple contents in the
+ ** We initially assume we will find multiple contents in the
** draft. So create a multipart/mixed content to hold everything.
** We can remove this later, if it is not needed.
*/
** draft. So create a multipart/mixed content to hold everything.
** We can remove this later, if it is not needed.
*/
@@
-1276,13
+1277,8
@@
scan_content(CT ct)
case CT_TEXT:
check8bit = 1;
checkboundary = 1;
case CT_TEXT:
check8bit = 1;
checkboundary = 1;
- if (ct->c_subtype == TEXT_PLAIN) {
- checklinelen = 0;
- checklinespace = 0;
- } else {
- checklinelen = 1;
- checklinespace = 1;
- }
+ checklinelen = 1;
+ checklinespace = 1;
break;
case CT_MESSAGE:
break;
case CT_MESSAGE: