diff options
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r-- | src/transport/plugin_transport_tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index 4ed5b38f7..34bbd00e0 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c | |||
@@ -549,7 +549,7 @@ add_unixpath (struct sockaddr **saddrs, | |||
549 | if (GNUNET_YES == abstract) | 549 | if (GNUNET_YES == abstract) |
550 | un->sun_path[0] = '\0'; | 550 | un->sun_path[0] = '\0'; |
551 | #endif | 551 | #endif |
552 | #if HAVE_SOCKADDR_IN_SIN_LEN | 552 | #if HAVE_SOCKADDR_UN_SUN_LEN |
553 | un->sun_len = (u_char) sizeof (struct sockaddr_un); | 553 | un->sun_len = (u_char) sizeof (struct sockaddr_un); |
554 | #endif | 554 | #endif |
555 | *saddrs = (struct sockaddr *) un; | 555 | *saddrs = (struct sockaddr *) un; |