aboutsummaryrefslogtreecommitdiff
path: root/src/util/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/connection.c')
-rw-r--r--src/util/connection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/connection.c b/src/util/connection.c
index 6d3070415..02dd9f991 100644
--- a/src/util/connection.c
+++ b/src/util/connection.c
@@ -902,7 +902,7 @@ GNUNET_CONNECTION_create_from_connect_to_unixpath (const struct GNUNET_CONFIGURA
902 un->sun_path[0] = '\0'; 902 un->sun_path[0] = '\0';
903 } 903 }
904#endif 904#endif
905#if HAVE_SOCKADDR_IN_SIN_LEN 905#if HAVE_SOCKADDR_UN_SUN_LEN
906 un->sun_len = (u_char) sizeof (struct sockaddr_un); 906 un->sun_len = (u_char) sizeof (struct sockaddr_un);
907#endif 907#endif
908 connection = GNUNET_new (struct GNUNET_CONNECTION_Handle); 908 connection = GNUNET_new (struct GNUNET_CONNECTION_Handle);
@@ -1012,7 +1012,7 @@ GNUNET_CONNECTION_create_from_sockaddr (int af_family,
1012 return NULL; 1012 return NULL;
1013 } 1013 }
1014 return GNUNET_CONNECTION_connect_socket (s, 1014 return GNUNET_CONNECTION_connect_socket (s,
1015 serv_addr, 1015 serv_addr,
1016 addrlen); 1016 addrlen);
1017} 1017}
1018 1018