X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=commands.c;h=e64c8c2fc9a4721cc4cb581f1ef4a5400cd3074e;hp=dc0a6f40deb0707c77ac4bb09b647563f42a281f;hb=24a996896edb7b7fc8f5fd5950a07c4a52a42d05;hpb=108f3c7ab59844591f7540347914ea57be5245e2 diff --git a/commands.c b/commands.c index dc0a6f4..e64c8c2 100644 --- a/commands.c +++ b/commands.c @@ -25,7 +25,6 @@ #include #include #include -#include #include @@ -37,6 +36,7 @@ #include #include "mutt.h" +#include "alias.h" #include "recvattach.h" #include "sort.h" #include "copy.h" @@ -143,7 +143,6 @@ int mutt_display_message (HEADER * cur) (option (OPTWEED) ? (CH_WEED | CH_REORDER) : 0) | CH_DECODE | CH_FROM); if (res == 0 && (ferror(fpout) || feof(fpout))) { - debug_print (1, ("_mutt_copy_message failed to detect EOF!\n")); res = -1; } @@ -242,7 +241,7 @@ void ci_bounce_message (HEADER * h, int *redraw) char prompt[SHORT_STRING]; char buf[HUGE_STRING] = { 0 }; address_t *adr = NULL; - char *err = NULL; + const char *err = NULL; int rc; if (h) @@ -842,7 +841,7 @@ void mutt_edit_content_type (HEADER * h, BODY * b, FILE * fp) snprintf (buf, sizeof (buf), "%s/%s", TYPE (b), b->subtype); m_strcpy(obuf, sizeof(obuf), buf); if (b->parameter) { - size_t l; + ssize_t l; for (p = b->parameter; p; p = p->next) { l = m_strlen(buf);