From: Jeffrey Altman Date: Fri, 2 Sep 2011 22:36:13 +0000 (-0400) Subject: Windows: missing ! in update volume location X-Git-Tag: upstream/1.6.1.pre1^2~124 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=6d96df8d5fae0d4eb816415334ab2e2b4512a8cb;p=packages%2Fo%2Fopenafs.git 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. Reviewed-on: http://gerrit.openafs.org/5331 Tested-by: BuildBot Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman (cherry picked from commit 8127e9332be8cadda001f05c6036d4c87e04cb4a) Change-Id: I9760845b597c1653a78ab3e496166e5df03b7575 Reviewed-on: http://gerrit.openafs.org/6022 Tested-by: BuildBot Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- diff --git a/src/WINNT/afsd/cm_volume.c b/src/WINNT/afsd/cm_volume.c index 5e603d884..f6e2c1daa 100644 --- a/src/WINNT/afsd/cm_volume.c +++ b/src/WINNT/afsd/cm_volume.c @@ -480,7 +480,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);