if (!is_uid && (*is_subkey && option (OPTPGPIGNORESUB)))
break;
- dprint (2, (debugfile, "user ID: %s\n", p));
+ dprint (2, (debugfile, "user ID: %s\n", NONULL (p)));
uid = safe_calloc (sizeof (pgp_uid_t), 1);
fix_uid (p);
if (!optional)
{
snprintf (fmt, sizeof (fmt), "%%%ss", prefix);
- snprintf (dest, destlen, fmt, uid->addr);
+ snprintf (dest, destlen, fmt, NONULL (uid->addr));
}
break;
case 'a':
case OP_VIEW_ID:
- mutt_message ("%s", KeyTable[menu->current]->addr);
+ mutt_message ("%s", NONULL (KeyTable[menu->current]->addr));
break;
case OP_GENERIC_SELECT_ENTRY:
for (a = k->address; a; a = a->next)
{
dprint (5, (debugfile, "pgp_getkeybystr: matching \"%s\" against key %s, \"%s\": ",
- p, pgp_keyid (k), a->addr));
+ p, pgp_keyid (k), NONULL (a->addr)));
if (!*p || mutt_strcasecmp (p, pgp_keyid (k)) == 0 ||
(!mutt_strncasecmp (p, "0x", 2) && !mutt_strcasecmp (p + 2, pgp_keyid (k))) ||
(option (OPTPGPLONGIDS) && !mutt_strncasecmp (p, "0x", 2) &&