Skip to content

Commit

Permalink
misc - apply socle fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
astibal committed Nov 14, 2024
1 parent 4c15616 commit 50a3f3b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion socle
2 changes: 1 addition & 1 deletion src/service/smithd/smithdc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 50a3f3b

Please sign in to comment.