diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2014-06-02 09:40:12 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2014-06-02 09:40:12 +0000 |
commit | 800c3b54ba9a67ad995d6b5c1ecbffe224f4676d (patch) | |
tree | 43347995315ca4cdd5b6d1a8dd2f0e7cf0a71134 /src/transport/plugin_transport_template.c | |
parent | da3d84fb0f3e5a681976b53d43275b2d9b401886 (diff) | |
download | gnunet-800c3b54ba9a67ad995d6b5c1ecbffe224f4676d.tar.gz gnunet-800c3b54ba9a67ad995d6b5c1ecbffe224f4676d.zip |
fix semantic for address_to_string
Diffstat (limited to 'src/transport/plugin_transport_template.c')
-rw-r--r-- | src/transport/plugin_transport_template.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/transport/plugin_transport_template.c b/src/transport/plugin_transport_template.c index f39db3e79..a7abca210 100644 --- a/src/transport/plugin_transport_template.c +++ b/src/transport/plugin_transport_template.c | |||
@@ -276,11 +276,8 @@ template_plugin_address_pretty_printer (void *cls, const char *type, | |||
276 | GNUNET_TRANSPORT_AddressStringCallback | 276 | GNUNET_TRANSPORT_AddressStringCallback |
277 | asc, void *asc_cls) | 277 | asc, void *asc_cls) |
278 | { | 278 | { |
279 | if (0 == addrlen) | 279 | asc (asc_cls, "converted address", GNUNET_OK); /* return address */ |
280 | { | 280 | asc (asc_cls, NULL, GNUNET_OK); /* done */ |
281 | asc (asc_cls, TRANSPORT_SESSION_INBOUND_STRING); | ||
282 | } | ||
283 | asc (asc_cls, NULL); | ||
284 | } | 281 | } |
285 | 282 | ||
286 | 283 | ||