pam: Use &, not && for bitwise operations
authorSimon Wilkinson <sxw@your-file-system.com>
Fri, 30 Mar 2012 18:21:41 +0000 (19:21 +0100)
committerDerrick Brashear <shadow@dementix.org>
Sun, 8 Apr 2012 01:27:27 +0000 (18:27 -0700)
commit0d2c2b454bc83f6b8d1b5d7294dcaccdaf96455c
tree126f63099d1f3e2688b08a5fc99797b2ec6662bb
parentca9fa87543df616b5bc2955090f6a8260da3efc1
pam: Use &, not && for bitwise operations

All of the LOG_MASK() checks are performing bitwise operations, and so
should be using '&', not && (which will always be true, providing
logmask is non-zero)

Caught by clang's new error messages

Change-Id: Idce9229b7351adc6c15279c94e1cc1e7fc45596e
Reviewed-on: http://gerrit.openafs.org/7078
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: Derrick Brashear <shadow@dementix.org>
src/pam/afs_auth.c
src/pam/afs_password.c
src/pam/afs_session.c
src/pam/afs_setcred.c