summaryrefslogtreecommitdiff
path: root/radsecproxy.c
diff options
context:
space:
mode:
authorvenaas <venaas>2008-04-16 07:49:58 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-04-16 07:49:58 +0000
commit6d5f68b3aa3cbb9961b31965d16dacc8c7971f03 (patch)
tree7e25fba8f4968632cc73edfa118c3f8e8013dada /radsecproxy.c
parent8a39c04743dfaceb92e01bf937766a2f35bc92b4 (diff)
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
Diffstat (limited to 'radsecproxy.c')
-rw-r--r--radsecproxy.c2
1 files changed, 1 insertions, 1 deletions
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: