From 05247cdd1bd19347a9e1596af0de8abb1c02b561 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Tue, 29 Mar 2016 11:31:04 +1000 Subject: [PATCH] Fix for netmail --- mail_menu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mail_menu.c b/mail_menu.c index b483200..b04455f 100644 --- a/mail_menu.c +++ b/mail_menu.c @@ -999,6 +999,7 @@ int mail_menu(int socket, struct user_record *user) { free(dest); } free(dest_addr); + if (!(strcasecmp(wwiv_addressee, user->loginname) == 0) || ((strcasecmp(from, user->loginname) == 0) && to_us)) { JAM_DelSubPacket(jsp); if (subject != NULL) { @@ -1014,7 +1015,7 @@ int mail_menu(int socket, struct user_record *user) { free(from_addr); } free(wwiv_addressee); - break; + continue; } free(wwiv_addressee); }