OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Theo de Raadt (deraadtcvs.openbsd.org)
Date: Mon Jun 01 2009 - 13:24:01 CDT


CVSROOT: /cvs
Module name: src
Changes by: deraadtcvs.openbsd.org 2009/06/01 12:24:01

Modified files:
        usr.sbin/smtpd : lka.c smtpd.c smtpd.h util.c

Log message:
No need for save_getpwuid and such functions which call endpwent.
endpwent is not needed unless setpwent (with stayopen = 1) or getpwent
was used. getpwuid/getpwnam do not use getpwent; i think people must
be assuming this. we are going to improve the man pages for this.
ok gilles