add some lua in the mime module as well.
[apps/madmutt.git] / lib-mime / rfc1524.c
index fc02062..fdbf182 100644 (file)
@@ -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);
   }