X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=door_daemon%2Fsig_handler.c;h=ca2e18fa67b7336ba3ac7dda1a8b9c0fb87ee8cb;hb=3603aadaf3ed9269188d9f19383a48af82f27d9f;hp=7a1ad745c3e720c4f9513b162924b7136ef8a7c2;hpb=bd2c78928d653160ef85e25e03e8b4e721635ac6;p=svn42.git diff --git a/door_daemon/sig_handler.c b/door_daemon/sig_handler.c index 7a1ad74..ca2e18f 100644 --- a/door_daemon/sig_handler.c +++ b/door_daemon/sig_handler.c @@ -20,8 +20,9 @@ * This file is part of uAnytun. * * uAnytun is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 3 as - * published by the Free Software Foundation. + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. * * uAnytun is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -120,7 +121,7 @@ int signal_handle() int return_value = 0; int sig; - for(sig=1; sig < _NSIG; ++sig) { + for(sig=1; sig < NSIG; ++sig) { if(sigismember(&set, sig)) { switch(sig) { case SIGINT: log_printf(NOTICE, "SIG-Int caught, exitting"); return_value = 1; break;