summaryrefslogtreecommitdiffstats
path: root/lib/libypclnt/ypclnt_passwd.c
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2006-07-28 21:34:37 +0000
committerstefanf <stefanf@FreeBSD.org>2006-07-28 21:34:37 +0000
commit7b03e7a18b19c5501b070b730a64ae8b99863443 (patch)
tree8705e3c08088de0b6f2269a0526dd8071d207349 /lib/libypclnt/ypclnt_passwd.c
parentf61f535abd93f4d66b4ca1e415c1d0ae1448b07f (diff)
downloadFreeBSD-src-7b03e7a18b19c5501b070b730a64ae8b99863443.zip
FreeBSD-src-7b03e7a18b19c5501b070b730a64ae8b99863443.tar.gz
Remove debug code.
Suggested by: des
Diffstat (limited to 'lib/libypclnt/ypclnt_passwd.c')
-rw-r--r--lib/libypclnt/ypclnt_passwd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libypclnt/ypclnt_passwd.c b/lib/libypclnt/ypclnt_passwd.c
index 6483794..c7ee7ea 100644
--- a/lib/libypclnt/ypclnt_passwd.c
+++ b/lib/libypclnt/ypclnt_passwd.c
@@ -119,13 +119,10 @@ ypclnt_passwd(ypclnt_t *ypclnt, const struct passwd *pwd, const char *passwd)
{
switch (ypclnt_havepasswdd(ypclnt)) {
case 0:
- YPCLNT_DEBUG("using remote update method");
return (yppasswd_remote(ypclnt, pwd, passwd));
case 1:
- YPCLNT_DEBUG("using local update method");
return (yppasswd_local(ypclnt, pwd));
default:
- YPCLNT_DEBUG("no rpc.yppasswdd");
return (-1);
}
}
OpenPOWER on IntegriCloud