diff options
Diffstat (limited to 'src/util/test_server_with_client_unix.c')
-rw-r--r-- | src/util/test_server_with_client_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/test_server_with_client_unix.c b/src/util/test_server_with_client_unix.c index d240f1a88..8fabbe210 100644 --- a/src/util/test_server_with_client_unix.c +++ b/src/util/test_server_with_client_unix.c | |||
@@ -123,7 +123,7 @@ task (void *cls) | |||
123 | memset (&un, 0, sizeof (un)); | 123 | memset (&un, 0, sizeof (un)); |
124 | un.sun_family = AF_UNIX; | 124 | un.sun_family = AF_UNIX; |
125 | strncpy(un.sun_path, unixpath, sizeof (un.sun_path) - 1); | 125 | strncpy(un.sun_path, unixpath, sizeof (un.sun_path) - 1); |
126 | #if HAVE_SOCKADDR_IN_SIN_LEN | 126 | #if HAVE_SOCKADDR_UN_SUN_LEN |
127 | un.sun_len = (u_char) sizeof (un); | 127 | un.sun_len = (u_char) sizeof (un); |
128 | #endif | 128 | #endif |
129 | 129 | ||