diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-03-22 03:04:08 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-03-22 03:04:08 +0000 |
commit | 7ebb635d812d68772ce3fb0b64d798c54fbfab71 (patch) | |
tree | 6bf832ba30e5d9643ed75677ce9ff6155fe7e549 /auth.c | |
parent | 6328ab39891ea64ccd5c91e9be2ec5c4f843bbd0 (diff) |
- markus@cvs.openbsd.org 2002/03/19 14:27:39
[auth.c auth1.c auth2.c]
make getpwnamallow() allways call pwcopy()
Diffstat (limited to 'auth.c')
-rw-r--r-- | auth.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth.c,v 1.39 2002/03/19 10:49:35 markus Exp $"); +RCSID("$OpenBSD: auth.c,v 1.40 2002/03/19 14:27:39 markus Exp $"); #ifdef HAVE_LOGIN_H #include <login.h> @@ -48,6 +48,7 @@ RCSID("$OpenBSD: auth.c,v 1.39 2002/03/19 10:49:35 markus Exp $"); #include "bufaux.h" #include "uidswap.h" #include "tildexpand.h" +#include "misc.h" /* import */ extern ServerOptions options; @@ -469,5 +470,5 @@ getpwnamallow(const char *user) auth_close(as); #endif #endif - return (pw); + return (pwcopy(pw)); } |