projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec945d3
)
needs_child_cleanup was unreachable, and DS' return prevented >1 child
author
cmiller
<cmiller>
Fri, 6 Jul 2001 13:11:55 +0000
(13:11 +0000)
committer
cmiller
<cmiller>
Fri, 6 Jul 2001 13:11:55 +0000
(13:11 +0000)
cleanup.
src/main/radiusd.c
patch
|
blob
|
history
diff --git
a/src/main/radiusd.c
b/src/main/radiusd.c
index
8bae62f
..
29caf24
100644
(file)
--- a/
src/main/radiusd.c
+++ b/
src/main/radiusd.c
@@
-2038,6
+2038,8
@@
void sig_cleanup(int sig)
got_child = FALSE;
+ needs_child_cleanup = 0; /* reset the queued cleanup number */
+
/*
* Reset the signal handler, if required.
*/
@@
-2073,11
+2075,9
@@
void sig_cleanup(int sig)
if (rl_walk(sig_cleanup_walker, (void*)pid) != 0) {
radlog(L_ERR, "Failed to cleanup child %d", pid);
}
- return;
}
#endif /* !defined HAVE_PTHREAD_H */
- needs_child_cleanup = 0; /* reset the queued cleanup number */
}
/*