X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=recvattach.c;h=f65c4e15573975521ff179839441b6e3374f4785;hp=53383bded0731df57847ae05bc4f3d6ff80e59bb;hb=873ab02a290cf65ebc01986188c20c3760353db3;hpb=0f44dc85fc1280372ffab911d701e703d803fb4b diff --git a/recvattach.c b/recvattach.c index 53383bd..f65c4e1 100644 --- a/recvattach.c +++ b/recvattach.c @@ -17,7 +17,6 @@ #include "mutt_menu.h" #include "rfc1524.h" #include "mime.h" -#include "mailbox.h" #include "attach.h" #include "mapping.h" #include "mx.h" @@ -96,7 +95,7 @@ void mutt_update_tree (ATTACHPTR ** idx, short idxlen) } if (idx[x]->tree) { - if (safe_strcmp (idx[x]->tree, buf) != 0) + if (mutt_strcmp (idx[x]->tree, buf) != 0) str_replace (&idx[x]->tree, buf); } else @@ -887,7 +886,7 @@ void mutt_view_attachments (HEADER * hdr) char helpstr[SHORT_STRING]; MUTTMENU *menu; - BODY *cur; + BODY *cur = NULL; MESSAGE *msg; FILE *fp; ATTACHPTR **idx = NULL;