X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-mime%2Frfc1524.c;h=fdbf1823c632c23557d87aeed3ed3368b89e86f9;hp=fc0206292976aa7d5a1e2bc6ce0a00212e9885d2;hb=558b0bd9de90a9dc28f409d8f46679bf48c72ded;hpb=75b25db9f40ea7bbd11e63652d5fae591b3f1206 diff --git a/lib-mime/rfc1524.c b/lib-mime/rfc1524.c index fc02062..fdbf182 100644 --- a/lib-mime/rfc1524.c +++ b/lib-mime/rfc1524.c @@ -169,8 +169,7 @@ static char *parse_field(char *p, char **field, char **value) *p++ = '\0'; case '\0': m_strrtrim(*field); - if (*value) - m_strrtrim(*value); + m_strrtrim(*value); return p; case '\\': @@ -390,7 +389,7 @@ int rfc1524_mailcap_lookup (BODY * a, char *type, rfc1524_entry * entry, continue; path[x] = '\0'; - mutt_expand_path (path, sizeof (path)); + mutt_expand_path(path, sizeof(path)); found = rfc1524_mailcap_parse (a, path, type, entry, opt); }