summaryrefslogtreecommitdiffstats
path: root/lib/libypclnt/ypclnt_passwd.c
diff options
context:
space:
mode:
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