From 0a3f1f3aee8a625596bfc93f9b7203d1b1d384f2 Mon Sep 17 00:00:00 2001 From: irungentoo Date: Sun, 10 Nov 2013 19:45:24 -0500 Subject: [PATCH] Fixed test. --- auto_tests/messenger_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto_tests/messenger_test.c b/auto_tests/messenger_test.c index 52c49650..cfbc4967 100644 --- a/auto_tests/messenger_test.c +++ b/auto_tests/messenger_test.c @@ -245,7 +245,7 @@ START_TEST(test_dht_state_saveloadsave) ck_assert_msg(buffer[extra + size + i] == 0xCD, "Buffer overwritten from DHT_save() @%u", i); } - int res = DHT_load_new(m->dht, buffer + extra, size); + int res = DHT_load(m->dht, buffer + extra, size); if (res == -1) ck_assert_msg(res == 0, "Failed to load back stored buffer: res == -1");