X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=remailer.c;h=b40ddbbbe31ab9c70098dfc04a61883dc815a6d0;hp=2a0ffa2f6c24a62fdbb02e845205d6dd14b3e1d1;hb=10e80e482eff3762b0b8d41b0c7795b76704479c;hpb=c88f8ebd5e7542e4ee2ac2c24dfd5f358dbb4235 diff --git a/remailer.c b/remailer.c index 2a0ffa2..b40ddbb 100644 --- a/remailer.c +++ b/remailer.c @@ -15,30 +15,31 @@ # include "config.h" #endif +#include +#include +#include +#include +#include +#include + #include #include #include #include #include #include +#include + +#include + +#include +#include #include "mutt.h" #include "recvattach.h" -#include "mutt_curses.h" -#include "mutt_menu.h" #include "remailer.h" -#include "lib/rx.h" - -#include -#include -#include - -#include -#include -#include - #define SW (option(OPTMBOXPANE)?SidebarWidth:0) #ifdef MIXMASTER @@ -468,9 +469,9 @@ static struct mapping_t RemailerHelp[] = { }; -void mix_make_chain (LIST ** chainp, int *redraw) +void mix_make_chain (string_list_t ** chainp, int *redraw) { - LIST *p; + string_list_t *p; MIXCHAIN *chain; int c_cur = 0, c_old = 0; int m_len; @@ -501,7 +502,7 @@ void mix_make_chain (LIST ** chainp, int *redraw) for (p = *chainp; p; p = p->next) mix_chain_add (chain, (char *) p->data, type2_list); - mutt_free_list (chainp); + string_list_wipe(chainp); /* safety check */ for (i = 0; i < chain->cl; i++) { @@ -713,7 +714,7 @@ int mix_check_message (HEADER * msg) return 0; } -int mix_send_message (LIST * chain, const char *tempfile) +int mix_send_message (string_list_t * chain, const char *tempfile) { char cmd[HUGE_STRING]; char tmp[HUGE_STRING];