aboutsummaryrefslogtreecommitdiffstats
path: root/tests
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
parentb0979452e9d42896b8f6fdc0da76dc0c79651b62 (diff)
parentc9e9c9c501d1609c3dd5f95a25efa60c4f1be384 (diff)
Merge branch 'develop'
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile4
-rw-r--r--tests/check.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 09763e0c..76122a2f 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -20,8 +20,8 @@ test_objs = check.o check_util.o check_nick.o check_md5.o check_arc.o check_irc.
check: $(test_objs) $(addprefix ../, $(main_objs)) ../protocols/protocols.o ../lib/lib.o
@echo '*' Linking $@
- @$(CC) $(CFLAGS) -o $@ $^ $(LFLAGS) $(EFLAGS)
+ $(VERBOSE) $(CC) $(CFLAGS) -o $@ $^ $(LFLAGS) $(EFLAGS)
%.o: $(_SRCDIR_)%.c
@echo '*' Compiling $<
- @$(CC) -c $(CFLAGS) $< -o $@
+ $(VERBOSE) $(CC) -c $(CFLAGS) $< -o $@
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;
}