Created torrent/runtime include directory.

This commit is contained in:
Jari Sundell
2026-01-27 00:21:05 +01:00
committed by GitHub
parent 2fa7568165
commit 9489793dcb
6 changed files with 7 additions and 11 deletions
+1 -3
View File
@@ -17,7 +17,6 @@
#include <torrent/download/resource_manager.h>
#include <torrent/net/http_stack.h>
#include <torrent/net/network_config.h>
#include <torrent/net/network_manager.h>
#include <torrent/net/socket_address.h>
#include <torrent/peer/client_info.h>
@@ -375,8 +374,7 @@ print_status_info(char* first, char* last) {
first = print_status_throttle_rate(first, last, false, throttle_down_names, global_downrate);
first = print_buffer(first, last, " KB]");
first = print_buffer(first, last, " [Port: %i]", (unsigned int)torrent::runtime::network_manager()->listen_port());
first = print_buffer(first, last, " [Port: %i]", (unsigned int)torrent::runtime::listen_port());
auto local_address = torrent::config::network_config()->local_address_best_match();