diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-07-12 14:56:09 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-07-12 14:56:09 +0000 |
commit | d59a3ba5d604cd8355a231c34ce5e92b7af56a3b (patch) | |
tree | c0e6c86022bf23ac67c952ebd55163db265eb153 /src/transport/plugin_transport_udp.c | |
parent | 370a96e8b0a1b0864b88bec3535ac1781ee963d0 (diff) | |
download | gnunet-d59a3ba5d604cd8355a231c34ce5e92b7af56a3b.tar.gz gnunet-d59a3ba5d604cd8355a231c34ce5e92b7af56a3b.zip |
using inbound string
Diffstat (limited to 'src/transport/plugin_transport_udp.c')
-rw-r--r-- | src/transport/plugin_transport_udp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index f4630c071..421da9812 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c | |||
@@ -549,7 +549,7 @@ udp_address_to_string (void *cls, const void *addr, size_t addrlen) | |||
549 | } | 549 | } |
550 | else if (addrlen == 0) | 550 | else if (addrlen == 0) |
551 | { | 551 | { |
552 | GNUNET_snprintf (rbuf, sizeof (rbuf), "%s", "<inbound>"); | 552 | GNUNET_snprintf (rbuf, sizeof (rbuf), "%s", TRANSPORT_SESSION_INBOUND_STRING); |
553 | return rbuf; | 553 | return rbuf; |
554 | } | 554 | } |
555 | else | 555 | else |
@@ -764,7 +764,7 @@ udp_plugin_address_pretty_printer (void *cls, const char *type, | |||
764 | } | 764 | } |
765 | else if (0 == addrlen) | 765 | else if (0 == addrlen) |
766 | { | 766 | { |
767 | asc (asc_cls, "<inbound connection>"); | 767 | asc (asc_cls, TRANSPORT_SESSION_INBOUND_STRING); |
768 | asc (asc_cls, NULL); | 768 | asc (asc_cls, NULL); |
769 | return; | 769 | return; |
770 | } | 770 | } |