aboutsummaryrefslogtreecommitdiffstats
path: root/getpass.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-12-17 02:09:51 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-12-17 02:09:51 +0000
commit0922eb1ccb33983bd4ad2d5c38475d56e2e60137 (patch)
tree5d4e126da335d88279e0447feb988a5816f29a63 /getpass.c
parentd4009e757f45a4f09bd415cc032b079f316b4c46 (diff)
downloadfetchmail-0922eb1ccb33983bd4ad2d5c38475d56e2e60137.tar.gz
fetchmail-0922eb1ccb33983bd4ad2d5c38475d56e2e60137.tar.bz2
fetchmail-0922eb1ccb33983bd4ad2d5c38475d56e2e60137.zip
Use error() for messages almost everywhere.
svn path=/trunk/; revision=636
Diffstat (limited to 'getpass.c')
-rw-r--r--getpass.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/getpass.c b/getpass.c
index d0606e45..447a8f0c 100644
--- a/getpass.c
+++ b/getpass.c
@@ -186,6 +186,5 @@ restore_tty_state()
RETSIGTYPE sigint_handler ()
{
restore_tty_state();
- fputs("\nCaught signal... bailing out.\n", stderr);
- exit(1);
+ error(1, 0, "\nCaught signal... bailing out.");
}