X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=remailer.c;h=b40ddbbbe31ab9c70098dfc04a61883dc815a6d0;hp=94cd44424c8a15c6b133d716d45f20f5ec9756d1;hb=10e80e482eff3762b0b8d41b0c7795b76704479c;hpb=dbb9a1e16d03a2d4664d6dc6a30c721b889d4982 diff --git a/remailer.c b/remailer.c index 94cd444..b40ddbb 100644 --- a/remailer.c +++ b/remailer.c @@ -15,31 +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_menu.h" #include "remailer.h" -#include "lib/rx.h" - -#include -#include -#include - -#include -#include -#include - #define SW (option(OPTMBOXPANE)?SidebarWidth:0) #ifdef MIXMASTER @@ -469,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; @@ -502,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++) { @@ -714,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];