X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=rfc1524.c;h=6c6d31746f5db55762bef188f734208fab6bc1dc;hp=3cea0a8c179af98b73d60d74a5eeddd360091abe;hb=d23094706c228c63c7c7ab8f337fb5dd886c4109;hpb=83532821ae9fab034d0d630b78330c9ea4ff4cf3 diff --git a/rfc1524.c b/rfc1524.c index 3cea0a8..6c6d317 100644 --- a/rfc1524.c +++ b/rfc1524.c @@ -21,27 +21,28 @@ # include "config.h" #endif +#include +#include +#include + +#include +#include +#include +#include + #include #include #include #include #include +#include + +#include #include "mutt.h" #include "rfc1524.h" #include "attach.h" -#include "lib/debug.h" - -#include -#include -#include - -#include -#include -#include -#include - /* The command semantics include the following: * %s is the filename that contains the mail body data * %t is the content type, like text/plain @@ -132,7 +133,7 @@ static char *get_field (char *s) break; } } - str_skip_trailws (s); + m_strrtrim(s); return ch; }