projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
workarounds, I do not understand why it segfault, it should *NOT*
[apps/madmutt.git]
/
recvattach.c
diff --git
a/recvattach.c
b/recvattach.c
index
90ed28b
..
1e0af26
100644
(file)
--- a/
recvattach.c
+++ b/
recvattach.c
@@
-149,8
+149,8
@@
const char *mutt_attach_fmt (char *dest,
unsigned long data, format_flag flags)
{
char fmt[16];
unsigned long data, format_flag flags)
{
char fmt[16];
- char tmp[S
HORT_S
TRING];
- char charset[S
HORT_S
TRING];
+ char tmp[STRING];
+ char charset[STRING];
ATTACHPTR *aptr = (ATTACHPTR *) data;
int optional = (flags & M_FORMAT_OPTIONAL);
ssize_t l;
ATTACHPTR *aptr = (ATTACHPTR *) data;
int optional = (flags & M_FORMAT_OPTIONAL);
ssize_t l;
@@
-187,7
+187,7
@@
const char *mutt_attach_fmt (char *dest,
}
if (mutt_is_message_type(aptr->content) && MsgFmt && aptr->content->hdr)
{
}
if (mutt_is_message_type(aptr->content) && MsgFmt && aptr->content->hdr)
{
- char s[S
HORT_S
TRING];
+ char s[STRING];
_mutt_make_string (s, sizeof (s), MsgFmt, NULL, aptr->content->hdr,
M_FORMAT_FORCESUBJ | M_FORMAT_MAKEPRINT |
_mutt_make_string (s, sizeof (s), MsgFmt, NULL, aptr->content->hdr,
M_FORMAT_FORCESUBJ | M_FORMAT_MAKEPRINT |
@@
-565,7
+565,7
@@
pipe_attachment_list (char *command, FILE * fp, int tag, BODY * top,
void mutt_pipe_attachment_list (FILE * fp, int tag, BODY * top, int afilter)
{
STATE state;
void mutt_pipe_attachment_list (FILE * fp, int tag, BODY * top, int afilter)
{
STATE state;
- char buf[S
HORT_S
TRING];
+ char buf[STRING];
pid_t thepid;
if (fp)
pid_t thepid;
if (fp)
@@
-808,7
+808,7
@@
void mutt_view_attachments (HEADER * hdr)
int secured = 0;
int need_secured = 0;
int secured = 0;
int need_secured = 0;
- char helpstr[S
HORT_S
TRING];
+ char helpstr[STRING];
MUTTMENU *menu;
BODY *cur = NULL;
MESSAGE *msg;
MUTTMENU *menu;
BODY *cur = NULL;
MESSAGE *msg;