From 6d5f68b3aa3cbb9961b31965d16dacc8c7971f03 Mon Sep 17 00:00:00 2001 From: venaas Date: Wed, 16 Apr 2008 07:49:58 +0000 Subject: changed signal handling slightly so it works as expected on BSD git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@232 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- radsecproxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radsecproxy.c b/radsecproxy.c index 0d96795..69d5919 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -3072,7 +3072,7 @@ void *sighandler(void *arg) { for(;;) { sigemptyset(&sigset); sigaddset(&sigset, SIGPIPE); - sigwait(&sigset, &sig); + sigwait(&sigset, &sig); /* only get SIGPIPE right now, so could simplify below code */ switch (sig) { case 0: -- cgit v1.1