summaryrefslogtreecommitdiff
path: root/tests/mini-termination.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-04-04 17:38:55 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-04-04 17:38:55 +0200
commit61ff9fe785d106f13351964b9453a1cf5a62bdb8 (patch)
tree86fc8707e7802f29e0de5b6f2f0477be8c484598 /tests/mini-termination.c
parentf505545b2d3c8e927fbbde601b1c4eb3e0df23cc (diff)
downloadgnutls-61ff9fe785d106f13351964b9453a1cf5a62bdb8.tar.gz
use AF_UNIX for socketpair.
Diffstat (limited to 'tests/mini-termination.c')
-rw-r--r--tests/mini-termination.c2
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");