Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3]: src/libexec/ftpd Pull up revision 1.165 (requested by lukem i...
details: https://anonhg.NetBSD.org/src/rev/8f010d5acbff
branches: netbsd-3
changeset: 576496:8f010d5acbff
user: tron <tron%NetBSD.org@localhost>
date: Tue Jul 05 21:48:49 2005 +0000
description:
Pull up revision 1.165 (requested by lukem in ticket #538):
s/getpwnam/sgetpwnam/ Found by John Nemeth.
diffstat:
libexec/ftpd/ftpd.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r fb97f3f7f369 -r 8f010d5acbff libexec/ftpd/ftpd.c
--- a/libexec/ftpd/ftpd.c Tue Jul 05 21:41:43 2005 +0000
+++ b/libexec/ftpd/ftpd.c Tue Jul 05 21:48:49 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ftpd.c,v 1.164 2005/02/20 01:45:17 christos Exp $ */
+/* $NetBSD: ftpd.c,v 1.164.2.1 2005/07/05 21:48:49 tron Exp $ */
/*
* Copyright (c) 1997-2004 The NetBSD Foundation, Inc.
@@ -105,7 +105,7 @@
#if 0
static char sccsid[] = "@(#)ftpd.c 8.5 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: ftpd.c,v 1.164 2005/02/20 01:45:17 christos Exp $");
+__RCSID("$NetBSD: ftpd.c,v 1.164.2.1 2005/07/05 21:48:49 tron Exp $");
#endif
#endif /* not lint */
@@ -3604,7 +3604,7 @@
PAM_SUCCESS) {
tmpl_user = (const char *) item;
if (strcmp((*ppw)->pw_name, tmpl_user) != 0)
- *ppw = getpwnam(tmpl_user);
+ *ppw = sgetpwnam(tmpl_user);
} else
syslog(LOG_ERR, "Couldn't get PAM_USER: %s",
pam_strerror(pamh, e));
Home |
Main Index |
Thread Index |
Old Index