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':
> >
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]
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