From 50a3f3bb83476a5a7488fbf6c563be101991cbf4 Mon Sep 17 00:00:00 2001 From: ales stibal Date: Thu, 14 Nov 2024 18:26:41 +0100 Subject: [PATCH] misc - apply socle fixes --- CMakeLists.txt | 1 + socle | 2 +- src/service/smithd/smithdc.cpp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 94c2676e..b54e9948 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -433,6 +433,7 @@ IF (CMAKE_BUILD_TYPE STREQUAL "Debug") socle/traflog/tests/test_pcapng.cpp socle/tests/test_tls.cpp socle/tests/tests_peering.cpp + socle/tests/tests_mempool.cpp socle/common/tests/cache_tests.cpp socle/common/tests/mempool_tests.cpp socle/common/tests/string_tests.cpp diff --git a/socle b/socle index e68461f4..4e266b7d 160000 --- a/socle +++ b/socle @@ -1 +1 @@ -Subproject commit e68461f4db76cfa526a49adf4feb8ea8037a7ed2 +Subproject commit 4e266b7d2e69a561d6482b199162b3df7181eb44 diff --git a/src/service/smithd/smithdc.cpp b/src/service/smithd/smithdc.cpp index 7c1cdd5f..7e07848f 100644 --- a/src/service/smithd/smithdc.cpp +++ b/src/service/smithd/smithdc.cpp @@ -317,7 +317,7 @@ int main() { if (t_diff < t_min || t_min == 0) t_min = t_diff; if (t_diff > t_max || t_max == 0) t_max = t_diff; - std::cout << string_format_heap(">> Server RTT: %dus (avg=%.2fus min=%dus max=%dus)\n", t_diff, + std::cout << string_format(">> Server RTT: %dus (avg=%.2fus min=%dus max=%dus)\n", t_diff, ((double) t_sum) / t_cnt, t_min, t_max); } } \ No newline at end of file