Fix typo. Closes #880
authorAlan T. DeKok <aland@freeradius.org>
Tue, 20 Jan 2015 14:46:33 +0000 (09:46 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 20 Jan 2015 14:46:33 +0000 (09:46 -0500)
src/main/event.c

index 0aea82d..ca3edf0 100644 (file)
@@ -508,7 +508,7 @@ static void wait_for_child_to_die(void *ctx)
         *      up) OR there's still a child thread handling it, THEN
         *      delay some more.
         */
-       if ((request->child_state = REQUEST_QUEUED) ||
+       if ((request->child_state == REQUEST_QUEUED) ||
            (request->thread_id != NO_CHILD_THREAD)) {
                /*
                 *      Cap delay at max_request_time