projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb8802a
)
one last check to narrow down the possibilities
author
Alan T. DeKok
<aland@freeradius.org>
Mon, 26 Sep 2016 15:00:33 +0000
(11:00 -0400)
committer
Alan T. DeKok
<aland@freeradius.org>
Mon, 26 Sep 2016 15:00:33 +0000
(11:00 -0400)
src/lib/misc.c
patch
|
blob
|
history
diff --git
a/src/lib/misc.c
b/src/lib/misc.c
index
50b12a4
..
af6ee2c
100644
(file)
--- a/
src/lib/misc.c
+++ b/
src/lib/misc.c
@@
-1417,7
+1417,7
@@
int closefrom(int fd)
my_fd = strtol(dp->d_name, &endp, 10);
if (my_fd <= 0) continue;
- if (
(endp > dp->d_name) &&
*endp) continue;
+ if (*endp) continue;
if (my_fd == dirfd(dir)) continue;