X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=recvattach.c;h=91428f18a70db07eb6ee15969c732912efed1383;hp=1121d2d259409024ba317a4f2d1bb8a63635f9e1;hb=83532821ae9fab034d0d630b78330c9ea4ff4cf3;hpb=91d0c04349c9345f0ee29a61cc18dfc144b60edc diff --git a/recvattach.c b/recvattach.c index 1121d2d..91428f1 100644 --- a/recvattach.c +++ b/recvattach.c @@ -19,6 +19,8 @@ #include #include +#include + #include "mutt.h" #include "enter.h" #include "handler.h" @@ -26,7 +28,6 @@ #include "mutt_curses.h" #include "mutt_menu.h" #include "rfc1524.h" -#include "mime.h" #include "attach.h" #include "mx.h" #include "copy.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);