From c70d8528fccd50a8af1843e6c8e0da43f56f1f35 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 31 Jan 2000 06:09:06 +0000 Subject: Label save closes. svn path=/trunk/; revision=2723 --- fetchmail.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fetchmail.c') diff --git a/fetchmail.c b/fetchmail.c index 1febf8ce..bbd6bfab 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -413,7 +413,7 @@ int main(int argc, char **argv) bkgd = FALSE; unlink(lockfile); } - fclose(lockfp); + fclose(lockfp); /* not checking should be safe, file mode was "r" */ } /* if no mail servers listed and nothing in background, we're done */ @@ -582,7 +582,7 @@ int main(int argc, char **argv) sprintf(tmpbuf," %d", run.poll_interval); write(st, tmpbuf, strlen(tmpbuf)); } - close(st); + close(st); /* should be safe, previous write was atomic */ lock_acquired = TRUE; } -- cgit v1.2.3