Fix child state on corner case
authorAlan T. DeKok <aland@freeradius.org>
Sun, 17 Oct 2010 16:21:25 +0000 (18:21 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 17 Oct 2010 16:22:36 +0000 (18:22 +0200)
src/main/event.c

index 65fcb6b..95008a4 100644 (file)
@@ -1241,6 +1241,7 @@ static void wait_a_bit(void *ctx)
                if (!have_children)
 #endif
                {
                if (!have_children)
 #endif
                {
+                       request->child_state = REQUEST_DONE;
                        goto done;
                }
 
                        goto done;
                }