From: Alan T. DeKok Date: Mon, 23 Aug 2021 18:17:14 +0000 (-0400) Subject: fix typo X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42b3198b53d173e98af0642ce0424c0ab8553706;p=thirdparty%2Ffreeradius-server.git fix typo --- diff --git a/src/lib/util/machine.c b/src/lib/util/machine.c index a51d2684f9e..25ec2f3a565 100644 --- a/src/lib/util/machine.c +++ b/src/lib/util/machine.c @@ -444,7 +444,7 @@ int fr_machine_transition(fr_machine_t *m, int state) * Usually due to pre/post callbacks. If that happens, * then we immediately process the deferred states. */ - if (fr_dlist_num_elements(&m->deferred) >= 0) fr_machine_resume(m); + if (fr_dlist_num_elements(&m->deferred) > 0) fr_machine_resume(m); return 0; }