rework includes a bit
[apps/madmutt.git] / send.c
diff --git a/send.c b/send.c
index 395ecb0..bbebca3 100644 (file)
--- a/send.c
+++ b/send.c
@@ -37,6 +37,7 @@
 #include <lib-ui/enter.h>
 
 #include "mutt.h"
+#include "alias.h"
 #include "rfc3676.h"
 #include "keymap.h"
 #include "copy.h"
@@ -183,7 +184,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 +1100,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;