aboutsummaryrefslogtreecommitdiffstats
path: root/tests/check.c
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2017-04-06 17:29:23 -0300
committerdequis <dx@dxzone.com.ar>2017-04-06 17:29:23 -0300
commit051506399e1455d88f6179010129308c754be936 (patch)
tree859329ebf6c7f662596a2cd85981b454ba1a1a6b /tests/check.c
parentb0979452e9d42896b8f6fdc0da76dc0c79651b62 (diff)
parentc9e9c9c501d1609c3dd5f95a25efa60c4f1be384 (diff)
Merge branch 'develop'
Diffstat (limited to 'tests/check.c')
-rw-r--r--tests/check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check.c b/tests/check.c
index 25e27b49..2fb51cc6 100644
--- a/tests/check.c
+++ b/tests/check.c
@@ -13,7 +13,7 @@ gboolean g_io_channel_pair(GIOChannel **ch1, GIOChannel **ch2)
{
int sock[2];
- if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNIX, sock) < 0) {
+ if (socketpair(AF_UNIX, SOCK_STREAM, 0, sock) < 0) {
perror("socketpair");
return FALSE;
}