projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddeb019
)
*** empty log message ***
author
Art Cancro
<ajc@citadel.org>
Sun, 26 Jun 2005 22:25:25 +0000
(22:25 +0000)
committer
Art Cancro
<ajc@citadel.org>
Sun, 26 Jun 2005 22:25:25 +0000
(22:25 +0000)
citadel/auth.c
patch
|
blob
|
history
diff --git
a/citadel/auth.c
b/citadel/auth.c
index a11d9c767aa37b7995c3c8f85c790a6de190de5c..38fdd3aabff29f5c3e9e41c4006a90afe22f55cf 100644
(file)
--- a/
citadel/auth.c
+++ b/
citadel/auth.c
@@
-103,11
+103,14
@@
int validpw(uid_t uid, const char *pass)
int retval = 0;
int flags = 0;
+ flags = 0; /* silences compiler warning */
+
#ifdef PAM_DATA_SILENT
- flags =
flags | PAM_DATA_SILENT
+ flags =
( flags | PAM_DATA_SILENT ) ;
#endif /* PAM_DATA_SILENT */
- if ((pw = getpwuid(uid)) == NULL)
+ if ((pw = getpwuid(uid)) == NULL) {
return retval;
+ }
#ifdef HAVE_PAM_START
pc.conv = conv;