From cdd4adee54c85f42fb154b15afc247b12123c4fc Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Fri, 5 Aug 2016 09:56:18 +0200 Subject: [PATCH] Fix logs in vCard tester --- tester/vcard_tester.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tester/vcard_tester.c b/tester/vcard_tester.c index c7f81ce0f..5046da57d 100644 --- a/tester/vcard_tester.c +++ b/tester/vcard_tester.c @@ -75,7 +75,7 @@ static void linphone_vcard_import_a_lot_of_friends_test(void) { BC_ASSERT_EQUAL(bctbx_list_size(friends), 1000, int, "%i"); // Now that we accept Friends without a SIP URI, the result must be equal to 1000 elapsed = (double)(end - start); - ms_error("Imported a thousand of vCards from file in %f seconds", (unsigned int)bctbx_list_size(friends), elapsed / CLOCKS_PER_SEC); + ms_message("Imported a thousand of vCards from file in %f seconds", elapsed / CLOCKS_PER_SEC); lfl = linphone_core_create_friend_list(manager->lc); infile = fopen(import_filepath, "rb"); @@ -99,7 +99,7 @@ static void linphone_vcard_import_a_lot_of_friends_test(void) { BC_ASSERT_EQUAL(bctbx_list_size(friends), 1000, int, "%i"); // Now that we accept Friends without a SIP URI, the result must be equal to 1000 elapsed = (double)(end - start); - ms_error("Imported a thousand of vCards from buffer in %f seconds", (unsigned int)bctbx_list_size(friends), elapsed / CLOCKS_PER_SEC); + ms_message("Imported a thousand of vCards from buffer in %f seconds", elapsed / CLOCKS_PER_SEC); linphone_friend_list_unref(lfl);