projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
sendlib.c
diff --git
a/sendlib.c
b/sendlib.c
index
80790f4
..
b3f08b8
100644
(file)
--- a/
sendlib.c
+++ b/
sendlib.c
@@
-14,6
+14,9
@@
#endif
#include "mutt.h"
#endif
#include "mutt.h"
+#include "ascii.h"
+#include "handler.h"
+#include "recvattach.h"
#include "mutt_curses.h"
#include "rfc2047.h"
#include "rfc2231.h"
#include "mutt_curses.h"
#include "rfc2047.h"
#include "rfc2231.h"
@@
-24,6
+27,7
@@
#include "charset.h"
#include "mutt_crypt.h"
#include "mutt_idna.h"
#include "charset.h"
#include "mutt_crypt.h"
#include "mutt_idna.h"
+#include "svnrev.h"
#include "lib/mem.h"
#include "lib/str.h"
#include "lib/mem.h"
#include "lib/str.h"
@@
-802,7
+806,7
@@
CONTENT *mutt_get_content_info (const char *fname, BODY * b)
CONTENT *info;
CONTENT_STATE state;
FILE *fp = NULL;
CONTENT *info;
CONTENT_STATE state;
FILE *fp = NULL;
- char *fromcode;
+ char *fromcode
= NULL
;
char *tocode;
char buffer[100];
char chsbuf[STRING];
char *tocode;
char buffer[100];
char chsbuf[STRING];
@@
-1612,7
+1616,7
@@
int mutt_write_rfc822_header (FILE * fp, ENVELOPE * env, BODY * attach,
}
}
/* Add a vanity header */
}
}
/* Add a vanity header */
- fprintf (fp, "User-Agent:
mutt-ng/%s (%s)\n", MUTT_VERSION
, os);
+ fprintf (fp, "User-Agent:
%s (%s)\n", mutt_make_version (0)
, os);
}
return (ferror (fp) == 0 ? 0 : -1);
}
return (ferror (fp) == 0 ? 0 : -1);
@@
-2076,7
+2080,7
@@
int mutt_invoke_mta (ADDRESS * from, /* the sender */
{ /* message contains 8bit chars */
#ifdef USE_LIBESMTP
if (SmtpHost)
{ /* message contains 8bit chars */
#ifdef USE_LIBESMTP
if (SmtpHost)
- return mutt_
invoke_libesmtp
(from, to, cc, bcc, msg, eightbit);
+ return mutt_
libesmtp_invoke
(from, to, cc, bcc, msg, eightbit);
#endif
return mutt_invoke_sendmail (from, to, cc, bcc, msg, eightbit);
#endif
return mutt_invoke_sendmail (from, to, cc, bcc, msg, eightbit);