[Pkg-shadow-commits] r2873 - in upstream/trunk: lib libmisc
Nicolas FRANÇOIS
nekral-guest at alioth.debian.org
Sat May 9 13:15:38 UTC 2009
Author: nekral-guest
Date: 2009-05-09 13:15:38 +0000 (Sat, 09 May 2009)
New Revision: 2873
Modified:
upstream/trunk/lib/prototypes.h
upstream/trunk/libmisc/pam_pass_non_interractive.c
Log:
Fix typos.
Modified: upstream/trunk/lib/prototypes.h
===================================================================
--- upstream/trunk/lib/prototypes.h 2009-05-09 13:15:32 UTC (rev 2872)
+++ upstream/trunk/lib/prototypes.h 2009-05-09 13:15:38 UTC (rev 2873)
@@ -239,9 +239,11 @@
extern /*@null@*/struct passwd *get_my_pwent (void);
/* pam_pass_non_interractive.c */
+#ifdef USE_PAM
extern int do_pam_passwd_non_interractive (const char *pam_service,
const char *username,
- const char* password)
+ const char* password);
+#endif /* USE_PAM */
/* obscure.c */
#ifndef USE_PAM
Modified: upstream/trunk/libmisc/pam_pass_non_interractive.c
===================================================================
--- upstream/trunk/libmisc/pam_pass_non_interractive.c 2009-05-09 13:15:32 UTC (rev 2872)
+++ upstream/trunk/libmisc/pam_pass_non_interractive.c 2009-05-09 13:15:38 UTC (rev 2873)
@@ -159,6 +159,8 @@
}
(void) pam_end (pamh, PAM_SUCCESS);
+
+ return ((PAM_SUCCESS == ret) ? 0 : 1);
}
#else /* !USE_PAM */
extern int errno; /* warning: ANSI C forbids an empty source file */
More information about the Pkg-shadow-commits
mailing list