]> andersk Git - openssh.git/commitdiff
unbreak
authordjm <djm>
Wed, 13 Feb 2002 05:43:52 +0000 (05:43 +0000)
committerdjm <djm>
Wed, 13 Feb 2002 05:43:52 +0000 (05:43 +0000)
openbsd-compat/readpassphrase.c

index 4e63b618917626790e6ecf68105ef6cc0236ca8a..4d25eadbb1bc31900e8375b76bf3429d379b09ae 100644 (file)
@@ -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;
 }
This page took 0.037269 seconds and 5 git commands to generate.