summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index df919a5..60ec000 100644
--- a/src/main.c
+++ b/src/main.c
@@ -172,9 +172,10 @@ alrm_handler (int signum)
void
chld_handler (int signum)
{
+ rp_child_info *cur;
int pid, status, serrno;
+
serrno = errno;
- rp_child_info *cur;
while (1)
{