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_unix.c | |
parent | 370a96e8b0a1b0864b88bec3535ac1781ee963d0 (diff) | |
download | gnunet-d59a3ba5d604cd8355a231c34ce5e92b7af56a3b.tar.gz gnunet-d59a3ba5d604cd8355a231c34ce5e92b7af56a3b.zip |
using inbound string
Diffstat (limited to 'src/transport/plugin_transport_unix.c')
-rw-r--r-- | src/transport/plugin_transport_unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_unix.c b/src/transport/plugin_transport_unix.c index 3f64e5c19..afa19d0e8 100644 --- a/src/transport/plugin_transport_unix.c +++ b/src/transport/plugin_transport_unix.c | |||
@@ -1292,7 +1292,7 @@ unix_address_to_string (void *cls, const void *addr, size_t addrlen) | |||
1292 | 1292 | ||
1293 | if (0 == addrlen) | 1293 | if (0 == addrlen) |
1294 | { | 1294 | { |
1295 | GNUNET_snprintf(rbuf, sizeof (rbuf), "%s", "<inbound>"); | 1295 | GNUNET_snprintf(rbuf, sizeof (rbuf), "%s", TRANSPORT_SESSION_INBOUND_STRING); |
1296 | } | 1296 | } |
1297 | if ((NULL == addr) || (sizeof (struct UnixAddress) > addrlen)) | 1297 | if ((NULL == addr) || (sizeof (struct UnixAddress) > addrlen)) |
1298 | { | 1298 | { |
@@ -1399,7 +1399,7 @@ unix_plugin_address_pretty_printer (void *cls, const char *type, | |||
1399 | } | 1399 | } |
1400 | else if (0 == addrlen) | 1400 | else if (0 == addrlen) |
1401 | { | 1401 | { |
1402 | asc (asc_cls, "<inbound>"); | 1402 | asc (asc_cls, TRANSPORT_SESSION_INBOUND_STRING); |
1403 | } | 1403 | } |
1404 | else | 1404 | else |
1405 | { | 1405 | { |