From aa21b714e5a3b60ec683c8ceb150e9aecae59e95 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Sun, 18 Feb 2018 14:11:34 +1000 Subject: [PATCH] fix personal mail --- src/mail_menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 &&