in a configuration file, but mutt is compiled without PGP support.
}
else if (DTYPE (MuttVars[idx].type) == DT_SORT)
{
- const struct mapping_t *map;
+ const struct mapping_t *map = NULL;
switch (MuttVars[idx].type & DT_SUBTYPE_MASK)
{
break;
}
+ if (!map)
+ {
+ snprintf (err->data, err->dsize, _("%s: Unknown type."), MuttVars[idx].option);
+ r = -1;
+ break;
+ }
+
if (query || *s->dptr != '=')
{
p = mutt_getnamebyvalue (*((short *) MuttVars[idx].data) & SORT_MASK, map);