summaryrefslogtreecommitdiff
path: root/lib/libc/gen/auth_subr.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-10-15 20:17:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-10-15 20:17:12 +0000
commita9fb7d83c6ae316902707010b67c537ded7d8379 (patch)
treeb758945e62205d275dc5e41b56628039d55f052d /lib/libc/gen/auth_subr.c
parent6d7c2315d98a76a5ab9204663e9e9823da193764 (diff)
Fix typo introduce in last commit
Diffstat (limited to 'lib/libc/gen/auth_subr.c')
-rw-r--r--lib/libc/gen/auth_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/auth_subr.c b/lib/libc/gen/auth_subr.c
index 6f3769fd9a6..db13471bb61 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.15 2002/10/15 17:47:27 millert Exp $ */
+/* $OpenBSD: auth_subr.c,v 1.16 2002/10/15 20:17:11 millert Exp $ */
/*-
* Copyright (c) 1995,1996,1997 Berkeley Software Design, Inc.
@@ -458,7 +458,7 @@ auth_setitem(auth_session_t *as, auth_item_t item, char *value)
return (0);
case AUTHV_SERVICE:
- if (value != NULL && value == as->defservice)
+ if (value != NULL && value == as->service)
return (0);
if (value == NULL || strcmp(value, defservice) == 0)
value = defservice;