From 7bf6fd6bcbdcb87544798c9634618fccb4678f45 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Mon, 8 Jun 2009 22:42:01 +0000 Subject: [PATCH] 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". --- 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 04e35580d..e43df19e2 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; } -- 2.39.5