From f525fda4889066dc7fe3d2616beebb516fabebd3 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Fri, 19 Jun 2009 04:12:09 +0000 Subject: [PATCH] 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) --- src/WINNT/afsd/cm_config.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/WINNT/afsd/cm_config.c b/src/WINNT/afsd/cm_config.c index 04e35580d8..e43df19e2e 100644 --- a/src/WINNT/afsd/cm_config.c +++ b/src/WINNT/afsd/cm_config.c @@ -453,8 +453,6 @@ long cm_SearchCellRegistry(afs_uint32 client, } if ( !bFound ) { - if (newCellNamep) - newCellNamep[0] = '\0'; RegCloseKey(hkCellServDB); return CM_ERROR_NOSUCHCELL; }