Re: mail/akpop3d authenticate.c:user_in_file bug

2020-04-28 Thread Antoine Jacoutot
On Tue, Apr 28, 2020 at 01:46:17AM +0200, Ingo Schwarze wrote: > Hi Alexei, > > Alexei Malinin wrote on Tue, Apr 28, 2020 at 01:05:23AM +0300: > > > I ported akpop3d to NetBSD and found the Subject. > > GCC warning was the following: > > authenticate.c: In function 'is_user_allowed': > >

Re: mail/akpop3d authenticate.c:user_in_file bug

2020-04-27 Thread Ingo Schwarze
Hi Alexei, Alexei Malinin wrote on Tue, Apr 28, 2020 at 01:05:23AM +0300: > I ported akpop3d to NetBSD and found the Subject. > GCC warning was the following: > authenticate.c: In function 'is_user_allowed': > authenticate.c:110:11: warning: switch condition has boolean value > [-Wswitch-bool]

mail/akpop3d authenticate.c:user_in_file bug

2020-04-27 Thread Alexei Malinin
Hello! I ported akpop3d to NetBSD and found the Subject. GCC warning was the following: authenticate.c: In function 'is_user_allowed': authenticate.c:110:11: warning: switch condition has boolean value [-Wswitch-bool]    switch (user_in_file(user,POP3ALLOW_FILE)>0) {    ^ Please look at