X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-mime%2Frfc1524.c;h=fdbf1823c632c23557d87aeed3ed3368b89e86f9;hb=f4a82d92ca0d015424b203887579802f003cfac8;hp=fc0206292976aa7d5a1e2bc6ce0a00212e9885d2;hpb=75b25db9f40ea7bbd11e63652d5fae591b3f1206;p=apps%2Fmadmutt.git 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); }