diff --git a/tests/test_ntp_regressions.c b/tests/test_ntp_regressions.c index ca04b4d4..06cc7ae4 100644 --- a/tests/test_ntp_regressions.c +++ b/tests/test_ntp_regressions.c @@ -215,7 +215,7 @@ static void cleanup(struct fixture* f) { assert(!f->inst.new_conn_cbks && !f->inst.api_bindings.callbacks[ETCP_ID_NTP_TIME]); for (int i = 0; i < 3; i++) assert(!f->conns[i].cbks); struct ll_entry* e; - while ((e = queue_get_data(f->inst.connections))) queue_entry_free(e); + while ((e = queue_data_get(f->inst.connections))) queue_entry_free(e); queue_free(f->inst.connections); uasync_destroy(f->ua, 0); }