X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=send.c;h=9d85a9e139d470fe0efb559968fe9941205642f5;hp=395ecb0dcef9aa19002e65c32ab6aa62dd37e4e7;hb=23e6291cb5d5b4cd2008403d8b628007fd75ff23;hpb=108f3c7ab59844591f7540347914ea57be5245e2 diff --git a/send.c b/send.c index 395ecb0..9d85a9e 100644 --- a/send.c +++ b/send.c @@ -28,7 +28,6 @@ #include #include #include -#include #include #include @@ -37,6 +36,7 @@ #include #include "mutt.h" +#include "alias.h" #include "rfc3676.h" #include "keymap.h" #include "copy.h" @@ -183,7 +183,7 @@ static address_t *find_mailing_lists (address_t * t, address_t * c) static int edit_address (address_t ** a, const char *field) { char buf[HUGE_STRING]; - char *err = NULL; + const char *err = NULL; int idna_ok = 0; do { @@ -1099,8 +1099,8 @@ int ci_send_message (int flags, /* send mode */ char *pgpkeylist = NULL; /* save current value of "pgp_sign_as" */ - char *signas = NULL, *err = NULL; - const char *tag = NULL; + char *signas = NULL; + const char *tag = NULL, *err = NULL; char *ctype; int rv = -1; @@ -1208,8 +1208,6 @@ int ci_send_message (int flags, /* send mode */ } if (!tempfp) { - debug_print (1, ("can't create tempfile %s (errno=%d)\n", - msg->content->filename, errno)); mutt_perror (msg->content->filename); goto cleanup; }