diff options
-rw-r--r-- | lib/libc/gen/auth_subr.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/gen/auth_subr.c b/lib/libc/gen/auth_subr.c index e6faaa09efa..1da9ebb4149 100644 --- a/lib/libc/gen/auth_subr.c +++ b/lib/libc/gen/auth_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auth_subr.c,v 1.18 2002/10/24 17:13:36 drahn Exp $ */ +/* $OpenBSD: auth_subr.c,v 1.19 2002/10/30 14:54:34 drahn Exp $ */ /*- * Copyright (c) 1995,1996,1997 Berkeley Software Design, Inc. @@ -129,9 +129,7 @@ static va_list nilap; * Quick one liners that only exist to keep auth_session_t opaque */ void auth_setstate(auth_session_t *as, int s){ as->state = s; } -void auth_set_va_list(auth_session_t *as, va_list ap) { - va_copy(as->ap, ap); -} +void auth_set_va_list(auth_session_t *as, va_list ap) { as->ap = ap; } int auth_getstate(auth_session_t *as) { return (as->state); } struct passwd *auth_getpwd(auth_session_t *as) { return (as->pwd); } |