git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
bb2dc54
)
windows-fs-utils-20080207
author
Jeffrey Altman
<jaltman@secure-endpoints.com>
Thu, 7 Feb 2008 21:40:08 +0000 (21:40 +0000)
committer
Jeffrey Altman
<jaltman@secure-endpoints.com>
Thu, 7 Feb 2008 21:40:08 +0000 (21:40 +0000)
LICENSE MIT
Use ismeta() correctly when parsing integer strings.
src/WINNT/afsd/fs_utils.c
patch
|
blob
|
history
diff --git
a/src/WINNT/afsd/fs_utils.c
b/src/WINNT/afsd/fs_utils.c
index
70ed624
..
cc19bf1
100644
(file)
--- 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++;