The parameters for ax_oid_cmp are swapped. This fixes the few failing regress tests I just committed.
OK? martijn@ Index: agentx.c =================================================================== RCS file: /cvs/src/lib/libagentx/agentx.c,v retrieving revision 1.9 diff -u -p -r1.9 agentx.c --- agentx.c 1 May 2021 16:44:17 -0000 1.9 +++ agentx.c 1 May 2021 16:59:08 -0000 @@ -675,7 +675,7 @@ agentx_context_object_nfind(struct agent axo = RB_NFIND(axc_objects, &(axc->axc_objects), &axo_search); if (!inclusive && axo != NULL && - ax_oid_cmp(&(axo_search.axo_oid), &(axo->axo_oid)) <= 0) { + ax_oid_cmp(&(axo->axo_oid), &(axo_search.axo_oid)) <= 0) { axo = RB_NEXT(axc_objects, &(axc->axc_objects), axo); }