X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=copy.c;h=55a3f4fc165f503cd6080fe2134d19cb41413076;hp=0c5f8b467511bad0b54ae71b8eca42d854bed6ff;hb=3242c00b2d3f7f1c1554bcebfb8a390fddea095f;hpb=f3cbb9f51357972f6e74244494236a41dc4d84cd diff --git a/copy.c b/copy.c index 0c5f8b4..55a3f4f 100644 --- 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) { - char buffer[SHORT_STRING]; + char buffer[STRING]; 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) { - char chsbuf[SHORT_STRING]; + char chsbuf[STRING]; 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) { - char prefix[SHORT_STRING]; + char prefix[STRING]; 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; - char date[SHORT_STRING]; + char date[STRING]; 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'; - rfc822_write_address (buf, sizeof (buf), a, 0); + rfc822_addrcat(buf, sizeof (buf), a, 0); a->next = tmp; l = m_strlen(buf);