projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
simplifications
[apps/madmutt.git]
/
send.c
diff --git
a/send.c
b/send.c
index
4039463
..
736e0c0
100644
(file)
--- a/
send.c
+++ b/
send.c
@@
-7,41
+7,25
@@
* please see the file GPL in the top level source directory.
*/
* please see the file GPL in the top level source directory.
*/
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#include <ctype.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <string.h>
-#include <errno.h>
-#include <sys/stat.h>
-#include <sys/wait.h>
-#include <dirent.h>
-#include <time.h>
-#include <sys/types.h>
-#include <utime.h>
-
#include <lib-lib/lib-lib.h>
#include <lib-lib/lib-lib.h>
+#include <utime.h>
#include <lib-mime/mime.h>
#include <lib-mime/rfc3676.h>
#include <lib-mime/mime.h>
#include <lib-mime/rfc3676.h>
-
+#include <lib-sys/unix.h>
#include <lib-ui/curses.h>
#include <lib-ui/enter.h>
#include <lib-ui/curses.h>
#include <lib-ui/enter.h>
+#include <lib-mx/mx.h>
-#include "mutt.h"
#include "alias.h"
#include "keymap.h"
#include "copy.h"
#include "alias.h"
#include "keymap.h"
#include "copy.h"
-#include "mx.h"
#include <lib-crypt/crypt.h>
#include "mutt_idna.h"
#include "attach.h"
#ifdef USE_NNTP
#include <lib-crypt/crypt.h>
#include "mutt_idna.h"
#include "attach.h"
#ifdef USE_NNTP
-#include
"nntp.h"
+#include
<nntp/nntp.h>
#endif
#ifdef MIXMASTER
#endif
#ifdef MIXMASTER
@@
-297,7
+281,7
@@
static int edit_envelope (ENVELOPE * en, int flags)
}
#ifdef USE_NNTP
}
#ifdef USE_NNTP
-char *nntp_get_header(const char *s)
+
static
char *nntp_get_header(const char *s)
{
return m_strdup(skipspaces(s));
}
{
return m_strdup(skipspaces(s));
}
@@
-593,8
+577,8
@@
void mutt_fix_reply_recipients (ENVELOPE * env)
}
/* the CC field can get cluttered, especially with lists */
}
/* the CC field can get cluttered, especially with lists */
- address_list_uniq(
&
env->to);
- address_list_uniq(
&
env->cc);
+ address_list_uniq(env->to);
+ address_list_uniq(env->cc);
env->cc = mutt_remove_xrefs (env->to, env->cc);
if (env->cc && !env->to) {
env->cc = mutt_remove_xrefs (env->to, env->cc);
if (env->cc && !env->to) {
@@
-920,7
+904,7
@@
void mutt_set_followup_to (ENVELOPE * e)
}
}
}
}
- address_list_uniq(
&
e->mail_followup_to);
+ address_list_uniq(e->mail_followup_to);
}
}
}
}