X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-mime%2Frfc3676.c;h=7350188921d8dfba1ad6bb3858557eb31de3a441;hb=1ee89902de184a640c171ae3285bff6882a791bd;hp=b93a7664c4f0652e29f1e7769fb39543a199d9c2;hpb=2c56b665394c80195b976537e608b690947fcb14;p=apps%2Fmadmutt.git diff --git a/lib-mime/rfc3676.c b/lib-mime/rfc3676.c index b93a766..7350188 100644 --- a/lib-mime/rfc3676.c +++ b/lib-mime/rfc3676.c @@ -9,29 +9,12 @@ * please see the file GPL in the top level source directory. */ -#if HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include +#include #include -#include "mutt.h" -#include "handler.h" #include "state.h" -#include "lib.h" +#include "rfc3676.h" #define FLOWED_MAX 77 @@ -138,7 +121,7 @@ int rfc3676_handler (BODY * a, STATE * s) { *curline='\0'; /* respect DelSP of RfC3676 only with f=f parts */ - if ((t = (char*) mutt_get_parameter ("delsp", a->parameter))) { + if ((t = parameter_getval(a->parameter, "delsp"))) { delsp = m_strlen(t) == 3 && ascii_strncasecmp (t, "yes", 3) == 0; t = NULL; }