projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix burst so it actually complies with RFC 934. This means discarding
[mmh]
/
uip
/
viamail.c
diff --git
a/uip/viamail.c
b/uip/viamail.c
index
aea746d
..
12412c7
100644
(file)
--- a/
uip/viamail.c
+++ b/
uip/viamail.c
@@
-18,10
+18,6
@@
#include <h/mime.h>
#include <h/mhparse.h>
#include <h/mime.h>
#include <h/mhparse.h>
-#ifdef HAVE_SYS_WAIT_H
-# include <sys/wait.h>
-#endif
-
static struct swit switches[] = {
#define TOSW 0
{ "to mailpath", 0 },
static struct swit switches[] = {
#define TOSW 0
{ "to mailpath", 0 },
@@
-56,12
+52,6
@@
extern int verbsw;
int ebcdicsw = 0; /* hack for linking purposes */
int ebcdicsw = 0; /* hack for linking purposes */
-/* mhmisc.c */
-void set_endian (void);
-
-/* mhoutsbr.c */
-int writeBase64aux (FILE *, FILE *);
-
/*
* static prototypes
*/
/*
* static prototypes
*/
@@
-189,7
+179,7
@@
via_mail (char *mailsw, char *subjsw, char *parmsw, char *descsw,
strncpy (tmpfil, tfile, sizeof(tmpfil));
if (!strchr(mailsw, '@'))
strncpy (tmpfil, tfile, sizeof(tmpfil));
if (!strchr(mailsw, '@'))
- mailsw = concat (mailsw, "@", LocalName (), NULL);
+ mailsw = concat (mailsw, "@", LocalName (0), NULL);
fprintf (fp, "To: %s\n", mailsw);
if (subjsw)
fprintf (fp, "To: %s\n", mailsw);
if (subjsw)
@@
-197,7
+187,7
@@
via_mail (char *mailsw, char *subjsw, char *parmsw, char *descsw,
if (fromsw) {
if (!strchr(fromsw, '@'))
if (fromsw) {
if (!strchr(fromsw, '@'))
- fromsw = concat (fromsw, "@", LocalName (), NULL);
+ fromsw = concat (fromsw, "@", LocalName (0), NULL);
fprintf (fp, "From: %s\n", fromsw);
}
fprintf (fp, "From: %s\n", fromsw);
}