mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 13:38:01 +00:00
DEVEL15-windows-fs-utils-20080207
LICENSE MIT Use ismeta() correctly when parsing integer strings. (cherry picked from commit 1c0c38b91836db8e90c73f340dd302000950a539)
This commit is contained in:
parent
4d8ed8defe
commit
dfb428ff4a
@ -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++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user