w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit 751df76eaf2d49a4d30fbf6ac8a33ff2ea1521ef
parent 0af2ab75fb33fefa45db46b9e20b40a2cb81a71e
Author: ukai <ukai>
Date:   Tue, 18 Feb 2003 15:44:33 +0000

fix indent

Diffstat:
Metc.c | 14+++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/etc.c b/etc.c @@ -1974,8 +1974,7 @@ FQDN(char *host) #endif /* USE_COOKIE */ -void (*mySignal(int signal_number, void (*action)(int)))(int) -{ +void (*mySignal(int signal_number, void (*action) (int))) (int) { #ifdef SA_RESTART struct sigaction new_action, old_action; @@ -1986,13 +1985,14 @@ void (*mySignal(int signal_number, void (*action)(int)))(int) new_action.sa_flags = SA_INTERRUPT; #else new_action.sa_flags = 0; -#endif - } else { - new_action.sa_flags = SA_RESTART; +#endif + } + else { + new_action.sa_flags = SA_RESTART; } sigaction(signal_number, &new_action, &old_action); - return(old_action.sa_handler); + return (old_action.sa_handler); #else - return(signal(signal_number, action)); + return (signal(signal_number, action)); #endif }