aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/transport/plugin_transport_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_unix.c b/src/transport/plugin_transport_unix.c
index b1a823eb06..1b1873671f 100644
--- a/src/transport/plugin_transport_unix.c
+++ b/src/transport/plugin_transport_unix.c
@@ -1272,7 +1272,7 @@ unix_address_to_string (void *cls, const void *addr, size_t addrlen)
addrstr = (char *) &ua[1];
addr_str_len = ntohl (ua->addrlen);
- if (addr_str_len != addrlen - sizeof (struct UnixAddress *))
+ if (addr_str_len != addrlen - sizeof (struct UnixAddress))
{
GNUNET_break (0);
return NULL;