]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
don't assign in an assert
authorAlan T. DeKok <aland@freeradius.org>
Sun, 5 Feb 2017 15:02:11 +0000 (10:02 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 5 Feb 2017 15:04:38 +0000 (10:04 -0500)
src/util/time.c

index fed8c79fd1daed398be3b7f313a2150d287f7059..b9be9604ffbd5cee8b06b51f862df6183966dce3 100644 (file)
@@ -178,8 +178,8 @@ void fr_time_tracking_end(fr_time_tracking_t *tt, fr_time_t when, fr_time_tracki
        /*
         *      This request cannot be in any list.
         */
-       rad_assert(tt->list.prev = &tt->list);
-       rad_assert(tt->list.next = &tt->list);
+       rad_assert(tt->list.prev == &tt->list);
+       rad_assert(tt->list.next == &tt->list);
 
        /*
         *      Update the time that the worker spent processing the request.