diff --git a/src/mail_menu.c b/src/mail_menu.c index e2d59e7..397c5a0 100644 --- a/src/mail_menu.c +++ b/src/mail_menu.c @@ -146,7 +146,7 @@ int msg_is_to(struct user_record *user, char *addressed_to, char *address, int t } else { myname = strdup(user->loginname); } - if (type == NETWORK_FIDO) { + if (type == NETWORK_FIDO && address != NULL) { if (strcasecmp(myname, addressed_to) == 0) { dest = parse_fido_addr(address); if (conf.mail_conferences[msgconf]->fidoaddr->zone == dest->zone &&