diff options
Diffstat (limited to 'src/util/service_new.c')
-rw-r--r-- | src/util/service_new.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/service_new.c b/src/util/service_new.c index 00d05dacc..90829c08c 100644 --- a/src/util/service_new.c +++ b/src/util/service_new.c | |||
@@ -519,7 +519,7 @@ add_unixpath (struct sockaddr **saddrs, | |||
519 | if (GNUNET_YES == abstract) | 519 | if (GNUNET_YES == abstract) |
520 | un->sun_path[0] = '\0'; | 520 | un->sun_path[0] = '\0'; |
521 | #endif | 521 | #endif |
522 | #if HAVE_SOCKADDR_IN_SIN_LEN | 522 | #if HAVE_SOCKADDR_UN_SUN_LEN |
523 | un->sun_len = (u_char) sizeof (struct sockaddr_un); | 523 | un->sun_len = (u_char) sizeof (struct sockaddr_un); |
524 | #endif | 524 | #endif |
525 | *saddrs = (struct sockaddr *) un; | 525 | *saddrs = (struct sockaddr *) un; |