diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-11-29 09:37:54 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-11-29 09:37:54 +0000 |
commit | 623df97886da9ee06724b7860a1a2463737b750e (patch) | |
tree | a7638265a42b7b276d10403078411e4f4d8973d8 /src/peerinfo-tool | |
parent | 51b7d6d6e0d50e77a3fc948af68ae02f325684ac (diff) | |
download | gnunet-623df97886da9ee06724b7860a1a2463737b750e.tar.gz gnunet-623df97886da9ee06724b7860a1a2463737b750e.zip |
first steps to transport_api cleanup
compiles but no guarante to work!
Diffstat (limited to 'src/peerinfo-tool')
-rw-r--r-- | src/peerinfo-tool/gnunet-peerinfo.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/peerinfo-tool/gnunet-peerinfo.c b/src/peerinfo-tool/gnunet-peerinfo.c index e40615a9b..d54eb1081 100644 --- a/src/peerinfo-tool/gnunet-peerinfo.c +++ b/src/peerinfo-tool/gnunet-peerinfo.c | |||
@@ -126,11 +126,9 @@ print_address (void *cls, | |||
126 | struct GNUNET_TIME_Absolute expiration) | 126 | struct GNUNET_TIME_Absolute expiration) |
127 | { | 127 | { |
128 | struct PrintContext *pc = cls; | 128 | struct PrintContext *pc = cls; |
129 | 129 | GNUNET_TRANSPORT_address_to_string (cfg, | |
130 | GNUNET_TRANSPORT_address_lookup (cfg, | 130 | address, |
131 | address->address, | 131 | no_resolve, |
132 | address->address_length, no_resolve, | ||
133 | address->transport_name, | ||
134 | GNUNET_TIME_relative_multiply | 132 | GNUNET_TIME_relative_multiply |
135 | (GNUNET_TIME_UNIT_SECONDS, 10), | 133 | (GNUNET_TIME_UNIT_SECONDS, 10), |
136 | &process_resolved_address, pc); | 134 | &process_resolved_address, pc); |