From 2ae0c7cba401c88d4c1d0424d440076388abc818 Mon Sep 17 00:00:00 2001 From: Jeremy Sowden Date: Fri, 21 Jun 2019 11:50:30 +0100 Subject: [PATCH] wmail: use continue instead of goto. --- wmail/src/wmail.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wmail/src/wmail.c b/wmail/src/wmail.c index d3391cc..a7bb032 100644 --- a/wmail/src/wmail.c +++ b/wmail/src/wmail.c @@ -1091,7 +1091,7 @@ static void ParseMBoxFile( struct stat *fileStat ) char *addr = buf + sizeof "From:"; if( SkipSender( addr )) - goto NEXTMAIL; + continue; char *name; if(( name = ParseFromField( addr )) == NULL ) @@ -1112,8 +1112,6 @@ static void ParseMBoxFile( struct stat *fileStat ) RemoveLastName(); --numMails; } -NEXTMAIL: - ; } fclose( f );