projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
various cleanups.
[apps/madmutt.git]
/
sendlib.c
diff --git
a/sendlib.c
b/sendlib.c
index
c7e8bfd
..
73d41b3
100644
(file)
--- a/
sendlib.c
+++ b/
sendlib.c
@@
-1505,7
+1505,7
@@
int mutt_write_rfc822_header (FILE * fp, ENVELOPE * env, BODY * attach,
os = (uname(&un) == -1) ? "UNIX" : un.sysname;
}
/* Add a vanity header */
os = (uname(&un) == -1) ? "UNIX" : un.sysname;
}
/* Add a vanity header */
- fprintf (fp, "User-Agent: %s (%s)\n", mutt_make_version
(0
), os);
+ fprintf (fp, "User-Agent: %s (%s)\n", mutt_make_version
(
), os);
}
return (ferror (fp) == 0 ? 0 : -1);
}
return (ferror (fp) == 0 ? 0 : -1);
@@
-1840,8
+1840,7
@@
static int mutt_invoke_sendmail (address_t * from, /* the sender */
if (option (OPTNEWSSEND)) {
char cmd[LONG_STRING];
if (option (OPTNEWSSEND)) {
char cmd[LONG_STRING];
- m_strformat (cmd, sizeof (cmd), NONULL (Inews), nntp_format_str, 0,
- 0);
+ m_strformat(cmd, sizeof(cmd), 0, Inews, nntp_format_str, 0, 0);
if (m_strisempty(cmd)) {
i = nntp_post (msg);
unlink (msg);
if (m_strisempty(cmd)) {
i = nntp_post (msg);
unlink (msg);