projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] Fix multiple compilation warnings
[apps/madmutt.git]
/
recvattach.c
diff --git
a/recvattach.c
b/recvattach.c
index
cc093f5
..
91428f1
100644
(file)
--- a/
recvattach.c
+++ b/
recvattach.c
@@
-17,6
+17,9
@@
#include <lib-lib/macros.h>
#include <lib-lib/ascii.h>
#include <lib-lib/file.h>
#include <lib-lib/macros.h>
#include <lib-lib/ascii.h>
#include <lib-lib/file.h>
+#include <lib-lib/mapping.h>
+
+#include <lib-mime/mime.h>
#include "mutt.h"
#include "enter.h"
#include "mutt.h"
#include "enter.h"
@@
-25,9
+28,7
@@
#include "mutt_curses.h"
#include "mutt_menu.h"
#include "rfc1524.h"
#include "mutt_curses.h"
#include "mutt_menu.h"
#include "rfc1524.h"
-#include "mime.h"
#include "attach.h"
#include "attach.h"
-#include "mapping.h"
#include "mx.h"
#include "copy.h"
#include "mutt_crypt.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)
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);
}
else
idx[x]->tree = m_strdup(buf);