afsdb-fix-20080126

LICENSE IPL10

pull bugfix from 1.4
This commit is contained in:
Derrick Brashear 2008-01-28 01:37:38 +00:00
parent 711dc57c7f
commit 7526681ef5

View File

@ -158,13 +158,12 @@ afs_GetCellHostsAFSDB(char *acellName)
ObtainReadLock(&afsdb_req_lock);
};
afs_osi_FreeStr(afsdb_req.cellname);
ReleaseReadLock(&afsdb_req_lock);
ReleaseWriteLock(&afsdb_client_lock);
if (afsdb_req.cellname)
if (afsdb_req.cellname) {
return 0;
else
} else
return ENOENT;
}
#endif