X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=recvattach.c;h=91428f18a70db07eb6ee15969c732912efed1383;hp=cc093f559e38aa5729c7856c361cfc36a080bbe6;hb=83532821ae9fab034d0d630b78330c9ea4ff4cf3;hpb=238b70e39b78f585c586bd51aef41988b3cc73d1 diff --git a/recvattach.c b/recvattach.c index cc093f5..91428f1 100644 --- a/recvattach.c +++ b/recvattach.c @@ -17,6 +17,9 @@ #include #include #include +#include + +#include #include "mutt.h" #include "enter.h" @@ -25,9 +28,7 @@ #include "mutt_curses.h" #include "mutt_menu.h" #include "rfc1524.h" -#include "mime.h" #include "attach.h" -#include "mapping.h" #include "mx.h" #include "copy.h" #include "mutt_crypt.h" @@ -104,7 +105,7 @@ void mutt_update_tree (ATTACHPTR ** idx, short idxlen) if (idx[x]->tree) { if (m_strcmp(idx[x]->tree, buf) != 0) - str_replace (&idx[x]->tree, buf); + m_strreplace(&idx[x]->tree, buf); } else idx[x]->tree = m_strdup(buf);