*p++ = '\0';
case '\0':
m_strrtrim(*field);
- m_strrtrim(*value);
+ if (*value)
+ m_strrtrim(*value);
return p;
case '\\':
return 0;
}
- mutt_check_lookup_list (a, type, SHORT_STRING);
+ mutt_check_lookup_list (a, type, STRING);
while (!found && *curr) {
x = 0;