diff options
Diffstat (limited to 'g10')
-rw-r--r-- | g10/ChangeLog | 5 | ||||
-rw-r--r-- | g10/status.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog index 65137a440..09b38287a 100644 --- a/g10/ChangeLog +++ b/g10/ChangeLog @@ -1,3 +1,8 @@ +Fri Aug 18 14:27:14 CEST 2000 Werner Koch <[email protected]> + + * status.c (do_get_from_fd): Ooops, we used fd instead of opt.command_fd. + Thanks to Michael Tokarev. + Mon Jul 31 10:04:47 CEST 2000 Werner Koch <[email protected]> * encode.c, sign.c, keygen.c, pubkey-enc.c: Replaced all diff --git a/g10/status.c b/g10/status.c index c35a8adba..2eb6724f3 100644 --- a/g10/status.c +++ b/g10/status.c @@ -368,7 +368,7 @@ do_get_from_fd( const char *keyword, int hidden, int bool ) i=0; } /* Hmmm: why not use our read_line function here */ - if( read( fd, string+i, 1) != 1 || string[i] == '\n' ) + if( read( opt.command_fd, string+i, 1) != 1 || string[i] == '\n' ) break; } string[i] = 0; |