svn rev #25179: trunk/src/kdc/
ghudson@MIT.EDU
ghudson at MIT.EDU
Wed Sep 14 15:00:40 EDT 2011
http://mv.ezproxy.com.ezproxyberklee.flo.org/fisheye/changelog/krb5/?cs=25179
Commit By: ghudson
Log Message:
Fix terminate_workers() in the KDC.
Changed Files:
U trunk/src/kdc/main.c
Modified: trunk/src/kdc/main.c
===================================================================
--- trunk/src/kdc/main.c 2011-09-14 16:12:39 UTC (rev 25178)
+++ trunk/src/kdc/main.c 2011-09-14 19:00:39 UTC (rev 25179)
@@ -505,13 +505,12 @@
/*
* Kill the worker subprocesses given by pids[0..bound-1], skipping any which
* are set to -1, and wait for them to exit (so that we know the ports are no
- * longer in use). num_active must be the number of active (i.e. not -1) pids
- * in the array.
+ * longer in use).
*/
static void
terminate_workers(pid_t *pids, int bound)
{
- int i, status, num_active;
+ int i, status, num_active = 0;
pid_t pid;
/* Kill the active worker pids. */
More information about the cvs-krb5
mailing list