]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
test: Fix unit tests breakage coming from maint-0.4.8
authorDavid Goulet <dgoulet@torproject.org>
Thu, 20 Mar 2025 14:02:20 +0000 (10:02 -0400)
committerDavid Goulet <dgoulet@torproject.org>
Thu, 20 Mar 2025 14:02:20 +0000 (10:02 -0400)
Signed-off-by: David Goulet <dgoulet@torproject.org>
src/test/test_entrynodes.c

index 63c9572fb348f84216aa863a629584e5671e66cd..6c7c919a36cf482a5f9d6ca8bdca977116bc8e85 100644 (file)
@@ -2341,7 +2341,7 @@ test_entry_guard_select_for_circuit_exit_family_restriction(void *arg)
   oc->build_state = tor_malloc_zero(sizeof(cpath_build_state_t));
 
   /* First pick the exit and pin it on the build_state */
-  retval = onion_pick_cpath_exit(oc, NULL, 0);
+  retval = onion_pick_cpath_exit(oc, NULL);
   tt_int_op(retval, OP_EQ, 0);
 
   /* Then pick a guard */