diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-04-04 17:38:55 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-04-04 17:38:55 +0200 |
commit | 61ff9fe785d106f13351964b9453a1cf5a62bdb8 (patch) | |
tree | 86fc8707e7802f29e0de5b6f2f0477be8c484598 /tests/mini-termination.c | |
parent | f505545b2d3c8e927fbbde601b1c4eb3e0df23cc (diff) | |
download | gnutls-61ff9fe785d106f13351964b9453a1cf5a62bdb8.tar.gz |
use AF_UNIX for socketpair.
Diffstat (limited to 'tests/mini-termination.c')
-rw-r--r-- | tests/mini-termination.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mini-termination.c b/tests/mini-termination.c index e72991e286..1dd0e02e40 100644 --- a/tests/mini-termination.c +++ b/tests/mini-termination.c @@ -296,7 +296,7 @@ static void start (const char* prio) int fd[2]; int ret; - ret = socketpair(AF_LOCAL, SOCK_STREAM, 0, fd); + ret = socketpair(AF_UNIX, SOCK_STREAM, 0, fd); if (ret < 0) { perror("socketpair"); |