diff options
author | Marius Halden <marius.h@lden.org> | 2017-04-07 10:24:13 +0200 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2017-04-07 10:24:13 +0200 |
commit | dd46ae5bef1c34773a3e7d3e2ef48fc013cef283 (patch) | |
tree | decbedfb7b847c01493dc95890f2169b4b0e31f3 /tests | |
parent | febcb6dca01bb17e0197770a0e6596aaa98bcdbd (diff) | |
parent | 051506399e1455d88f6179010129308c754be936 (diff) |
Merge branch 'master' into patched-master
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile | 4 | ||||
-rw-r--r-- | tests/check.c | 2 |
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; } |