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/dv/plugin_transport_dv.c | |
parent | da3d84fb0f3e5a681976b53d43275b2d9b401886 (diff) | |
download | gnunet-800c3b54ba9a67ad995d6b5c1ecbffe224f4676d.tar.gz gnunet-800c3b54ba9a67ad995d6b5c1ecbffe224f4676d.zip |
fix semantic for address_to_string
Diffstat (limited to 'src/dv/plugin_transport_dv.c')
-rw-r--r-- | src/dv/plugin_transport_dv.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/dv/plugin_transport_dv.c b/src/dv/plugin_transport_dv.c index d3acd0613..9e8ef79d2 100644 --- a/src/dv/plugin_transport_dv.c +++ b/src/dv/plugin_transport_dv.c | |||
@@ -649,8 +649,11 @@ dv_plugin_address_pretty_printer (void *cls, const char *type, | |||
649 | { | 649 | { |
650 | if ( (0 == addrlen) && | 650 | if ( (0 == addrlen) && |
651 | (0 == strcmp (type, "dv")) ) | 651 | (0 == strcmp (type, "dv")) ) |
652 | asc (asc_cls, "dv"); | 652 | asc (asc_cls, "dv", GNUNET_OK); |
653 | asc (asc_cls, NULL); | 653 | else |
654 | asc (asc_cls, NULL, GNUNET_SYSERR); | ||
655 | |||
656 | asc (asc_cls, NULL, GNUNET_OK); | ||
654 | } | 657 | } |
655 | 658 | ||
656 | 659 | ||