mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
DEVEL15-windows-search-cell-registry-20090608
LICENSE MIT do not clear the newCellNamep buffer on error. that is inconsistent with the other SearchCell functions and breaks "fs newcell". (cherry picked from commit 7bf6fd6bcbdcb87544798c9634618fccb4678f45)
This commit is contained in:
parent
c6d246b6dc
commit
f525fda488
@ -453,8 +453,6 @@ long cm_SearchCellRegistry(afs_uint32 client,
|
||||
}
|
||||
|
||||
if ( !bFound ) {
|
||||
if (newCellNamep)
|
||||
newCellNamep[0] = '\0';
|
||||
RegCloseKey(hkCellServDB);
|
||||
return CM_ERROR_NOSUCHCELL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user