From 8127e9332be8cadda001f05c6036d4c87e04cb4a Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Fri, 2 Sep 2011 18:36:13 -0400 Subject: [PATCH] Windows: missing ! in update volume location The check to see if the volume name is numeric or not was missing a ! in order to perform the correct test. Add it. Change-Id: I4626f4bdcf601cd1b421dd3d373edd634cc78527 Reviewed-on: http://gerrit.openafs.org/5331 Tested-by: BuildBot Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman --- src/WINNT/afsd/cm_volume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WINNT/afsd/cm_volume.c b/src/WINNT/afsd/cm_volume.c index bfec95cc6b..a81f0edc08 100644 --- a/src/WINNT/afsd/cm_volume.c +++ b/src/WINNT/afsd/cm_volume.c @@ -493,7 +493,7 @@ long cm_UpdateVolumeLocation(struct cm_cell *cellp, cm_user_t *userp, cm_req_t * /* decode the response */ lock_ObtainWrite(&cm_volumeLock); - if (cm_VolNameIsID(volp->namep)) { + if (!cm_VolNameIsID(volp->namep)) { size_t len; len = strlen(name);