auth/authcon.c: fix likely mistake

It seems likely the original developer intended to check
*scIndex==RX_SECIDX_NULL rather than scIndex==RX_SECIDX_NULL.

Change-Id: I8a33d3cb177a9212917613581957073392b08314
Reviewed-on: http://gerrit.openafs.org/8881
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Simon Wilkinson <simonxwilkinson@gmail.com>
This commit is contained in:
Nickolai Zeldovich 2013-01-05 23:45:21 -05:00 committed by Jeffrey Altman
parent d9cc9c9dee
commit 1b37493351

View File

@ -331,7 +331,7 @@ afsconf_PickClientSecObj(struct afsconf_dir *dir, afsconf_secflags flags,
* explicitly requested. Check for this, and bail out if we
* get one. Note that this leaks a security object at present
*/
if (scIndex == RX_SECIDX_NULL) {
if (*scIndex == RX_SECIDX_NULL) {
sc = NULL;
code = AFSCONF_NOTFOUND;
goto out;