diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-11-03 04:38:11 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-11-03 04:38:11 +0100 |
commit | 2bfc8d23c897591e45ce82753772e8f0a258e798 (patch) | |
tree | 628e3f348107d8491db6325a534b07cb72338309 /src/passphrase.c | |
parent | read passphrase (diff) | |
download | libpassphrase-2bfc8d23c897591e45ce82753772e8f0a258e798.tar.gz libpassphrase-2bfc8d23c897591e45ce82753772e8f0a258e798.tar.bz2 libpassphrase-2bfc8d23c897591e45ce82753772e8f0a258e798.tar.xz |
derp
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/passphrase.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/passphrase.c b/src/passphrase.c index cd88c7f..4b6af86 100644 --- a/src/passphrase.c +++ b/src/passphrase.c @@ -72,6 +72,8 @@ char* get_passphrase(void) */ void disable_echo() { + struct termios stty; + tcgetattr(STDIN_FILENO, &saved_stty); stty = saved_stty; stty.c_lflag &= ~ECHO; |