From dfb428ff4a5c91df7df96b3dec65ba3a301d664e Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Thu, 7 Feb 2008 21:42:11 +0000 Subject: [PATCH] DEVEL15-windows-fs-utils-20080207 LICENSE MIT Use ismeta() correctly when parsing integer strings. (cherry picked from commit 1c0c38b91836db8e90c73f340dd302000950a539) --- src/WINNT/afsd/fs_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WINNT/afsd/fs_utils.c b/src/WINNT/afsd/fs_utils.c index 70ed624955..cc19bf198d 100644 --- a/src/WINNT/afsd/fs_utils.c +++ b/src/WINNT/afsd/fs_utils.c @@ -175,7 +175,7 @@ afs_int32 util_GetInt32 (char *as, afs_int32 *aval) /* compute the # itself */ while(tc = *as) { - if (!ismeta(tc, base)) return -1; + if (!ismeta(base, tc)) return -1; total *= base; total += getmeta(tc); as++;