From: Paul Mackerras Date: Sun, 4 Jun 2006 21:56:31 +0000 (+0000) Subject: Put back a "0" that got deleted somehow. I blame the cat. :) X-Git-Tag: ppp-2.4.7~112 X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=dedb8ad67549c26ee30264c8eaa1eae449b3d9f7;p=ppp.git Put back a "0" that got deleted somehow. I blame the cat. :) --- diff --git a/pppd/auth.c b/pppd/auth.c index e78773e..8180927 100644 --- a/pppd/auth.c +++ b/pppd/auth.c @@ -68,7 +68,7 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#define RCSID "$Id: auth.c,v 1.110 2006/06/04 07:04:57 paulus Exp $" +#define RCSID "$Id: auth.c,v 1.111 2006/06/04 21:56:31 paulus Exp $" #include #include @@ -420,7 +420,7 @@ setupapfile(argv) novm("+ua file name"); if (seteuid(getuid()) == -1) { option_error("unable to reset uid before opening %s: %m", fname); - return ; + return 0; } ufile = fopen(fname, "r"); if (seteuid(0) == -1)