diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-01-10 16:44:49 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-01-11 11:59:14 +0000 |
commit | 2fbed5b4c55ca92edbd436d4d0fa0a35506855c3 (patch) | |
tree | f9cee9b3eb13d47789ec0340a59ae105dce0a07a /other | |
parent | c84daff5413c45fb9e87fa5dbb7ae228564cfd2f (diff) |
Move Networking_Core struct into the .c file.
To make it an abstract type everywhere except in network.c.
Diffstat (limited to 'other')
-rw-r--r-- | other/DHT_bootstrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/other/DHT_bootstrap.c b/other/DHT_bootstrap.c index 78139de0..b715181a 100644 --- a/other/DHT_bootstrap.c +++ b/other/DHT_bootstrap.c | |||
@@ -157,7 +157,7 @@ int main(int argc, char *argv[]) | |||
157 | fclose(file); | 157 | fclose(file); |
158 | 158 | ||
159 | printf("\n"); | 159 | printf("\n"); |
160 | printf("Port: %u\n", net_ntohs(dht->net->port)); | 160 | printf("Port: %u\n", net_ntohs(net_port(dht->net))); |
161 | 161 | ||
162 | if (argc > argvoffset + 3) { | 162 | if (argc > argvoffset + 3) { |
163 | printf("Trying to bootstrap into the network...\n"); | 163 | printf("Trying to bootstrap into the network...\n"); |