diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-09 20:16:52 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-09 20:16:52 +0000 |
commit | d36a5863ee8d8f440934f93969da167cb383f4c7 (patch) | |
tree | 17d9540d0de3f99feae37f16423c033e75414723 /src/util/connection.c | |
parent | bc28ff95e287a6794890c75348075fa9bd7af2f7 (diff) | |
download | gnunet-d36a5863ee8d8f440934f93969da167cb383f4c7.tar.gz gnunet-d36a5863ee8d8f440934f93969da167cb383f4c7.zip |
removing remenants of abstract unix domain socket handling, this finishes addressing #2887
Diffstat (limited to 'src/util/connection.c')
-rw-r--r-- | src/util/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/connection.c b/src/util/connection.c index 5c2ee1b37..39dad12c3 100644 --- a/src/util/connection.c +++ b/src/util/connection.c | |||
@@ -831,7 +831,7 @@ GNUNET_CONNECTION_create_from_connect_to_unixpath (const struct | |||
831 | GNUNET_assert (0 < strlen (unixpath)); /* sanity check */ | 831 | GNUNET_assert (0 < strlen (unixpath)); /* sanity check */ |
832 | un = GNUNET_new (struct sockaddr_un); | 832 | un = GNUNET_new (struct sockaddr_un); |
833 | un->sun_family = AF_UNIX; | 833 | un->sun_family = AF_UNIX; |
834 | strncpy(un->sun_path, unixpath, sizeof(un->sun_path) - 1); | 834 | strncpy (un->sun_path, unixpath, sizeof (un->sun_path) - 1); |
835 | #if HAVE_SOCKADDR_IN_SIN_LEN | 835 | #if HAVE_SOCKADDR_IN_SIN_LEN |
836 | un->sun_len = (u_char) sizeof (struct sockaddr_un); | 836 | un->sun_len = (u_char) sizeof (struct sockaddr_un); |
837 | #endif | 837 | #endif |