From 41e4eb34e76ac2594861f93b6bb3dc25ec614dd3 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sun, 19 Sep 2004 00:21:28 +0000 Subject: Close file descriptors on exec --- src/clamsmtpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/clamsmtpd.c b/src/clamsmtpd.c index 34a53a3..fdf6aa8 100644 --- a/src/clamsmtpd.c +++ b/src/clamsmtpd.c @@ -676,7 +676,7 @@ static int virus_action(clctx_t* ctx, const char* virus) /* The child */ case 0: - /* Close all descriptors */ + /* Close std descriptors */ for(i = 0; i <= 2; i++) close(i); -- cgit v1.2.3