diff options
Diffstat (limited to 'src/transport/tcp_service_legacy.c')
-rw-r--r-- | src/transport/tcp_service_legacy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/tcp_service_legacy.c b/src/transport/tcp_service_legacy.c index 54020b642..f207863f9 100644 --- a/src/transport/tcp_service_legacy.c +++ b/src/transport/tcp_service_legacy.c | |||
@@ -482,7 +482,7 @@ add_unixpath (struct sockaddr **saddrs, | |||
482 | un = GNUNET_new (struct sockaddr_un); | 482 | un = GNUNET_new (struct sockaddr_un); |
483 | un->sun_family = AF_UNIX; | 483 | un->sun_family = AF_UNIX; |
484 | GNUNET_strlcpy (un->sun_path, unixpath, sizeof(un->sun_path)); | 484 | GNUNET_strlcpy (un->sun_path, unixpath, sizeof(un->sun_path)); |
485 | #ifdef LINUX | 485 | #ifdef __linux__ |
486 | if (GNUNET_YES == abstract) | 486 | if (GNUNET_YES == abstract) |
487 | un->sun_path[0] = '\0'; | 487 | un->sun_path[0] = '\0'; |
488 | #endif | 488 | #endif |
@@ -637,7 +637,7 @@ LEGACY_SERVICE_get_server_addresses ( | |||
637 | unixpath = GNUNET_NETWORK_shorten_unixpath (unixpath); | 637 | unixpath = GNUNET_NETWORK_shorten_unixpath (unixpath); |
638 | LOG (GNUNET_ERROR_TYPE_INFO, _ ("Using `%s' instead\n"), unixpath); | 638 | LOG (GNUNET_ERROR_TYPE_INFO, _ ("Using `%s' instead\n"), unixpath); |
639 | } | 639 | } |
640 | #ifdef LINUX | 640 | #ifdef __linux__ |
641 | abstract = GNUNET_CONFIGURATION_get_value_yesno (cfg, | 641 | abstract = GNUNET_CONFIGURATION_get_value_yesno (cfg, |
642 | "TESTING", | 642 | "TESTING", |
643 | "USE_ABSTRACT_SOCKETS"); | 643 | "USE_ABSTRACT_SOCKETS"); |