mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 23:40:13 +00:00
windows-fs-utils-20080207
LICENSE MIT Use ismeta() correctly when parsing integer strings.
This commit is contained in:
parent
bb2dc54732
commit
1c0c38b918
@ -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…
Reference in New Issue
Block a user