aboutsummaryrefslogtreecommitdiffstats
path: root/getpass.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-01-31 06:09:06 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-01-31 06:09:06 +0000
commitc70d8528fccd50a8af1843e6c8e0da43f56f1f35 (patch)
tree1f6ac62e48f81a9971fe43f5ca47d7c2baca6be0 /getpass.c
parent42a5271a91208b49b2440bcd5a6367e6bc4f00e4 (diff)
downloadfetchmail-c70d8528fccd50a8af1843e6c8e0da43f56f1f35.tar.gz
fetchmail-c70d8528fccd50a8af1843e6c8e0da43f56f1f35.tar.bz2
fetchmail-c70d8528fccd50a8af1843e6c8e0da43f56f1f35.zip
Label save closes.
svn path=/trunk/; revision=2723
Diffstat (limited to 'getpass.c')
-rw-r--r--getpass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/getpass.c b/getpass.c
index e54adcad..8ec86a74 100644
--- a/getpass.c
+++ b/getpass.c
@@ -131,7 +131,7 @@ char *prompt;
signal(SIGINT, sig);
}
if (fi != stdin)
- fclose(fi);
+ fclose(fi); /* not checking should be safe, file mode was "r" */
return(pbuf);
#endif /* !(defined(HAVE_TCSETATTR) || ... */