diff options
author | Damien Miller <djm@mindrot.org> | 2002-02-13 16:43:52 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2002-02-13 16:43:52 +1100 |
commit | 89a1b9f908dc75ba2176d716af8e8abc8f9a4742 (patch) | |
tree | cc8d172444f5da60b39c9e8bb7eee903c457faa0 /openbsd-compat | |
parent | 8e3bdca1da7d30542e9028f35f2a1cef052c85e4 (diff) | |
download | openssh-git-89a1b9f908dc75ba2176d716af8e8abc8f9a4742.tar.gz |
unbreak
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/readpassphrase.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/readpassphrase.c b/openbsd-compat/readpassphrase.c index 4e63b618..4d25eadb 100644 --- a/openbsd-compat/readpassphrase.c +++ b/openbsd-compat/readpassphrase.c @@ -136,7 +136,7 @@ restart: /* Restore old terminal settings and signals. */ if (memcmp(&term, &oterm, sizeof(term)) != 0) - (void)tcsetattr(input, _T_FLUSH, &term); + (void)tcsetattr(input, _T_FLUSH, &oterm); (void)sigaction(SIGINT, &saveint, NULL); (void)sigaction(SIGHUP, &savehup, NULL); (void)sigaction(SIGQUIT, &savequit, NULL); @@ -179,6 +179,6 @@ getpass(const char *prompt) static void handler(int s) { - +fprintf(stderr, "COPPED A SGNAL\n"); signo = s; } |