ok relayd has the same btw.
Ross L Richardson([email protected]) on 2020.08.02 21:41:33 +1000: > cppcheck finds a redundant condition. > > The patch below deletes it. > > Ross > > Index: proc.c > =================================================================== > RCS file: /cvs/src/usr.sbin/httpd/proc.c,v > retrieving revision 1.38 > diff -u -p -r1.38 proc.c > --- proc.c 9 Sep 2018 21:06:51 -0000 1.38 > +++ proc.c 2 Aug 2020 11:38:50 -0000 > @@ -401,7 +401,7 @@ proc_kill(struct privsep *ps) > free(cause); > } else > log_warnx("lost child: pid %u", pid); > - } while (pid != -1 || (pid == -1 && errno == EINTR)); > + } while (pid != -1 || errno == EINTR); > } > > void >
