DEVEL15-windows-fs-utils-20080207

LICENSE MIT

Use ismeta() correctly when parsing integer strings.


(cherry picked from commit 1c0c38b91836db8e90c73f340dd302000950a539)
This commit is contained in:
Jeffrey Altman 2008-02-07 21:42:11 +00:00
parent 4d8ed8defe
commit dfb428ff4a

View File

@ -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++;