diff options
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; } |