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:
Jeffrey Altman 2009-06-19 04:12:09 +00:00
parent c6d246b6dc
commit f525fda488

View File

@ -453,8 +453,6 @@ long cm_SearchCellRegistry(afs_uint32 client,
}
if ( !bFound ) {
if (newCellNamep)
newCellNamep[0] = '\0';
RegCloseKey(hkCellServDB);
return CM_ERROR_NOSUCHCELL;
}