From fbee901e2326effd07d8c29f07621148648c17a7 Mon Sep 17 00:00:00 2001 From: Niels Provos Date: Thu, 14 Jul 2005 04:09:55 +0000 Subject: [PATCH] correctly test against SIG_ERR svn:r170 --- test/test-weof.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-weof.c b/test/test-weof.c index 8862b4a2..5f3be277 100644 --- a/test/test-weof.c +++ b/test/test-weof.c @@ -47,7 +47,7 @@ main (int argc, char **argv) { struct event ev; - if (signal(SIGPIPE, SIG_IGN) == SIG_IGN) + if (signal(SIGPIPE, SIG_IGN) == SIG_ERR) return (1); if (socketpair(AF_UNIX, SOCK_STREAM, 0, pair) == -1) -- 2.40.0