aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libntp/recvbuff.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libntp/recvbuff.c')
-rw-r--r--tests/libntp/recvbuff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libntp/recvbuff.c b/tests/libntp/recvbuff.c
index 6c089bb4c33f..90986e0aba95 100644
--- a/tests/libntp/recvbuff.c
+++ b/tests/libntp/recvbuff.c
@@ -29,7 +29,7 @@ test_Initialization(void) {
void
test_GetAndFree(void) {
u_long initial = free_recvbuffs();
- recvbuf_t* buf = get_free_recv_buffer();
+ recvbuf_t* buf = get_free_recv_buffer(TRUE);
TEST_ASSERT_EQUAL_UINT(initial-1, free_recvbuffs());
freerecvbuf(buf);
@@ -40,7 +40,7 @@ test_GetAndFree(void) {
void
test_GetAndFill(void) {
// int initial = free_recvbuffs();
- recvbuf_t* buf = get_free_recv_buffer();
+ recvbuf_t* buf = get_free_recv_buffer(TRUE);
add_full_recv_buffer(buf);
TEST_ASSERT_EQUAL_UINT(1, full_recvbuffs());