aboutsummaryrefslogtreecommitdiffstats
path: root/daemon.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-07-25 16:00:16 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-07-25 16:00:16 +0000
commitdb5358a3bc37a9bffb5a4b4b679d206081450754 (patch)
treecca9a480de16a1ef334a16544bdb822a970c967c /daemon.c
parent3e954cdf885e844a8663aabfe71358b83e68dd96 (diff)
downloadfetchmail-db5358a3bc37a9bffb5a4b4b679d206081450754.tar.gz
fetchmail-db5358a3bc37a9bffb5a4b4b679d206081450754.tar.bz2
fetchmail-db5358a3bc37a9bffb5a4b4b679d206081450754.zip
Attempted to prevent a sendmail loop.
svn path=/trunk/; revision=42
Diffstat (limited to 'daemon.c')
-rw-r--r--daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon.c b/daemon.c
index 66218b57..cfb6e53e 100644
--- a/daemon.c
+++ b/daemon.c
@@ -183,7 +183,7 @@ nottyDetach:
}
if (logfile)
- open(logfile, O_CREAT|O_WRONLY, 0777); /* stdout */
+ fd = open(logfile, O_CREAT|O_WRONLY, 0777); /* stdout */
else
if (dup(fd) < 0) { /* stdout */
perror("dup");