]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
"now" not available in non-debug builds
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 27 Apr 2020 23:23:43 +0000 (18:23 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 27 Apr 2020 23:23:54 +0000 (18:23 -0500)
src/lib/io/network.c

index b0f1b48cd1ef295b6d287b8360516f6000020d24..8f6676a3fb763a38e64e7ad4bece56e2b72577d8 100644 (file)
@@ -703,7 +703,10 @@ next_message:
         *      information tells the worker that the packet is a
         *      duplicate.
         */
-       cd->m.when = now = fr_time();
+       cd->m.when = fr_time();
+#ifndef NDEBUG
+       now = cd->m.when;
+#endif
        cd->listen = s->listen;
 
        /*