summaryrefslogtreecommitdiff
path: root/testing/Messenger_test.c
diff options
context:
space:
mode:
authorKostya <kostyarjcnz@gmail.com>2013-08-30 03:28:50 -0400
committerKostya <kostyarjcnz@gmail.com>2013-08-30 03:28:50 -0400
commit25563ac07005448706d294dccdabf14fbe01d100 (patch)
tree2166609dfed18c1e4625c05ac0478220dd842d87 /testing/Messenger_test.c
parent790867d984841ba0e28c4100615590870895e7d4 (diff)
Fixed build errors.
Diffstat (limited to 'testing/Messenger_test.c')
-rw-r--r--testing/Messenger_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/Messenger_test.c b/testing/Messenger_test.c
index 19fd9ab7..8d9bb715 100644
--- a/testing/Messenger_test.c
+++ b/testing/Messenger_test.c
@@ -106,7 +106,7 @@ int main(int argc, char *argv[])
106 if (argc > 3) { 106 if (argc > 3) {
107 IP_Port bootstrap_ip_port; 107 IP_Port bootstrap_ip_port;
108 bootstrap_ip_port.port = htons(atoi(argv[2])); 108 bootstrap_ip_port.port = htons(atoi(argv[2]));
109 bootstrap_ip_port.ip.i = inet_addr(argv[1]); 109 bootstrap_ip_port.ip.uint32 = inet_addr(argv[1]);
110 DHT_bootstrap(m->dht, bootstrap_ip_port, hex_string_to_bin(argv[3])); 110 DHT_bootstrap(m->dht, bootstrap_ip_port, hex_string_to_bin(argv[3]));
111 } else { 111 } else {
112 FILE *file = fopen(argv[1], "rb"); 112 FILE *file = fopen(argv[1], "rb");