projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove oldies.
[apps/madmutt.git]
/
attach.c
diff --git
a/attach.c
b/attach.c
index
67f2aa4
..
e352c4a
100644
(file)
--- a/
attach.c
+++ b/
attach.c
@@
-28,6
+28,8
@@
#include <lib-lib/macros.h>
#include <lib-lib/debug.h>
#include <lib-lib/macros.h>
#include <lib-lib/debug.h>
+#include <lib-sys/unix.h>
+
#include <lib-mime/mime.h>
#include <lib-ui/curses.h>
#include <lib-mime/mime.h>
#include <lib-ui/curses.h>
@@
-142,7
+144,7
@@
int mutt_compose_attachment (BODY * a)
b = mutt_read_mime_header (fp, 0);
if (b) {
if (b->parameter) {
b = mutt_read_mime_header (fp, 0);
if (b) {
if (b->parameter) {
- parameter_
delet
e(&a->parameter);
+ parameter_
list_wip
e(&a->parameter);
a->parameter = b->parameter;
b->parameter = NULL;
}
a->parameter = b->parameter;
b->parameter = NULL;
}
@@
-313,7
+315,7
@@
static int is_mmnoask (const char *buf)
void mutt_check_lookup_list (BODY * b, char *type, int len)
{
void mutt_check_lookup_list (BODY * b, char *type, int len)
{
-
LIST
*t = MimeLookupList;
+
string_list_t
*t = MimeLookupList;
int i;
for (; t; t = t->next) {
int i;
for (; t; t = t->next) {
@@
-349,7
+351,7
@@
void mutt_check_lookup_list (BODY * b, char *type, int len)
int mutt_is_autoview (BODY * b, const char *type)
{
int mutt_is_autoview (BODY * b, const char *type)
{
-
LIST
*t = AutoViewList;
+
string_list_t
*t = AutoViewList;
char _type[SHORT_STRING];
int i;
char _type[SHORT_STRING];
int i;