projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Nico Golde:
[apps/madmutt.git]
/
recvattach.c
diff --git
a/recvattach.c
b/recvattach.c
index
2e161ac
..
36f4a3e
100644
(file)
--- a/
recvattach.c
+++ b/
recvattach.c
@@
-17,13
+17,16
@@
#include "mutt_menu.h"
#include "rfc1524.h"
#include "mime.h"
#include "mutt_menu.h"
#include "rfc1524.h"
#include "mime.h"
-#include "mailbox.h"
#include "attach.h"
#include "mapping.h"
#include "mx.h"
#include "copy.h"
#include "mutt_crypt.h"
#include "attach.h"
#include "mapping.h"
#include "mx.h"
#include "copy.h"
#include "mutt_crypt.h"
+#include "lib/mem.h"
+#include "lib/intl.h"
+#include "lib/str.h"
+
#include <ctype.h>
#include <stdlib.h>
#include <unistd.h>
#include <ctype.h>
#include <stdlib.h>
#include <unistd.h>
@@
-93,7
+96,7
@@
void mutt_update_tree (ATTACHPTR ** idx, short idxlen)
if (idx[x]->tree) {
if (mutt_strcmp (idx[x]->tree, buf) != 0)
if (idx[x]->tree) {
if (mutt_strcmp (idx[x]->tree, buf) != 0)
-
mutt_
str_replace (&idx[x]->tree, buf);
+ str_replace (&idx[x]->tree, buf);
}
else
idx[x]->tree = safe_strdup (buf);
}
else
idx[x]->tree = safe_strdup (buf);
@@
-1172,7
+1175,7
@@
void mutt_view_attachments (HEADER * hdr)
CHECK_ATTACH;
if (!idx[menu->current]->content->hdr->env->followup_to ||
CHECK_ATTACH;
if (!idx[menu->current]->content->hdr->env->followup_to ||
-
mutt
_strcasecmp (idx[menu->current]->content->hdr->env->followup_to,
+
safe
_strcasecmp (idx[menu->current]->content->hdr->env->followup_to,
"poster")
|| query_quadoption (OPT_FOLLOWUPTOPOSTER,
_("Reply by mail as poster prefers?")) !=
"poster")
|| query_quadoption (OPT_FOLLOWUPTOPOSTER,
_("Reply by mail as poster prefers?")) !=