Fixed indentation
Showing
1 changed file
with
7 additions
and
10 deletions
... | @@ -25,8 +25,8 @@ imap4d_sigchld (int signo) | ... | @@ -25,8 +25,8 @@ imap4d_sigchld (int signo) |
25 | pid_t pid; | 25 | pid_t pid; |
26 | int status; | 26 | int status; |
27 | 27 | ||
28 | while ( (pid = waitpid(-1, &status, WNOHANG)) > 0) | 28 | while ((pid = waitpid (-1, &status, WNOHANG)) > 0) |
29 | --children; | 29 | --children; |
30 | #ifndef HAVE_SIGACTION | 30 | #ifndef HAVE_SIGACTION |
31 | /* On some system, signal implements the unreliable semantic and | 31 | /* On some system, signal implements the unreliable semantic and |
32 | has to be rearm. */ | 32 | has to be rearm. */ |
... | @@ -43,22 +43,19 @@ imap4d_signal (int signo) | ... | @@ -43,22 +43,19 @@ imap4d_signal (int signo) |
43 | /* Master process. */ | 43 | /* Master process. */ |
44 | if (!ofile) | 44 | if (!ofile) |
45 | { | 45 | { |
46 | syslog (LOG_CRIT, "MASTER: exiting on signal"); | 46 | syslog (LOG_CRIT, "MASTER: exiting on signal"); |
47 | exit (1); /* abort(); */ | 47 | exit (1); /* abort(); */ |
48 | } | 48 | } |
49 | 49 | ||
50 | switch (signo) | 50 | switch (signo) |
51 | { | 51 | { |
52 | case SIGALRM: | 52 | case SIGALRM: |
53 | imap4d_bye (ERR_TIMEOUT); | 53 | imap4d_bye (ERR_TIMEOUT); |
54 | 54 | ||
55 | case SIGPIPE: | 55 | case SIGPIPE: |
56 | exit (0); | 56 | exit (0); |
57 | 57 | ||
58 | default: | 58 | default: |
59 | imap4d_bye (ERR_SIGNAL); | 59 | imap4d_bye (ERR_SIGNAL); |
60 | } | 60 | } |
61 | } | 61 | } |
62 | |||
63 | |||
64 | ... | ... |
-
Please register or sign in to post a comment