projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix compilation warnings
[apps/madmutt.git]
/
copy.c
diff --git
a/copy.c
b/copy.c
index
0c5f8b4
..
55a3f4f
100644
(file)
--- a/
copy.c
+++ b/
copy.c
@@
-318,7
+318,7
@@
int
mutt_copy_header (FILE * in, HEADER * h, FILE * out, int flags,
const char *prefix)
{
mutt_copy_header (FILE * in, HEADER * h, FILE * out, int flags,
const char *prefix)
{
- char buffer[S
HORT_S
TRING];
+ char buffer[STRING];
if (h->env)
flags |= (h->env->irt_changed ? CH_UPDATE_IRT : 0) |
if (h->env)
flags |= (h->env->irt_changed ? CH_UPDATE_IRT : 0) |
@@
-329,7
+329,7
@@
mutt_copy_header (FILE * in, HEADER * h, FILE * out, int flags,
return (-1);
if (flags & CH_TXTPLAIN) {
return (-1);
if (flags & CH_TXTPLAIN) {
- char chsbuf[S
HORT_S
TRING];
+ char chsbuf[STRING];
fputs ("MIME-Version: 1.0\n", out);
fputs ("Content-Transfer-Encoding: 8bit\n", out);
fputs ("MIME-Version: 1.0\n", out);
fputs ("Content-Transfer-Encoding: 8bit\n", out);
@@
-494,7
+494,7
@@
int
_mutt_copy_message (FILE * fpout, FILE * fpin, HEADER * hdr, BODY * body,
int flags, int chflags)
{
_mutt_copy_message (FILE * fpout, FILE * fpin, HEADER * hdr, BODY * body,
int flags, int chflags)
{
- char prefix[S
HORT_S
TRING];
+ char prefix[STRING];
STATE s;
off_t new_offset = -1;
int rc = 0;
STATE s;
off_t new_offset = -1;
int rc = 0;
@@
-514,7
+514,7
@@
_mutt_copy_message (FILE * fpout, FILE * fpin, HEADER * hdr, BODY * body,
else if (hdr->attach_del && (chflags & CH_UPDATE_LEN)) {
int new_lines;
off_t new_length = body->length;
else if (hdr->attach_del && (chflags & CH_UPDATE_LEN)) {
int new_lines;
off_t new_length = body->length;
- char date[S
HORT_S
TRING];
+ char date[STRING];
mutt_make_date (date, sizeof (date));
date[5] = date[m_strlen(date) - 1] = '\"';
mutt_make_date (date, sizeof (date));
date[5] = date[m_strlen(date) - 1] = '\"';
@@
-794,7
+794,7
@@
static void format_address_header (char **h, address_t * a)
a->next = NULL;
*buf = *cbuf = *c2buf = '\0';
a->next = NULL;
*buf = *cbuf = *c2buf = '\0';
- rfc822_
write_address
(buf, sizeof (buf), a, 0);
+ rfc822_
addrcat
(buf, sizeof (buf), a, 0);
a->next = tmp;
l = m_strlen(buf);
a->next = tmp;
l = m_strlen(buf);