projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efec81a
)
Increment first
author
Arran Cudbard-Bell
<a.cudbardb@freeradius.org>
Sat, 10 May 2014 12:41:26 +0000
(13:41 +0100)
committer
Arran Cudbard-Bell
<a.cudbardb@freeradius.org>
Sat, 10 May 2014 12:41:26 +0000
(13:41 +0100)
src/lib/misc.c
patch
|
blob
|
history
diff --git
a/src/lib/misc.c
b/src/lib/misc.c
index
b8387b0
..
fbf8234
100644
(file)
--- a/
src/lib/misc.c
+++ b/
src/lib/misc.c
@@
-780,7
+780,7
@@
bool is_whitespace(char const *value)
{
do {
if (!isspace(*value)) return false;
- } while (*
value++
);
+ } while (*
++value
);
return true;
}
@@
-793,7
+793,7
@@
bool is_integer(char const *value)
{
do {
if (!isdigit(*value)) return false;
- } while (*
value++
);
+ } while (*
++value
);
return true;
}
@@
-806,7
+806,7
@@
bool is_zero(char const *value)
{
do {
if (*value != '0') return false;
- } while (*
value++
);
+ } while (*
++value
);
return true;
}