From ed2228d210cb2e52e565d25509ce01e0bb3936ce Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 4 Aug 2000 12:21:48 +0000 Subject: [PATCH] See ChangeLog: Fri Aug 4 14:23:05 CEST 2000 Werner Koch --- THANKS | 1 + g10/ChangeLog | 5 +++++ g10/status.c | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/THANKS b/THANKS index c90c4706e..2995b065f 100644 --- a/THANKS +++ b/THANKS @@ -89,6 +89,7 @@ Max Valianskiy maxcom@maxcom.ml.org Michael Fischer v. Mollard mfvm@gmx.de Michael Roth mroth@nessie.de Michael Sobolev mss@despair.transas.com +Michael Tokarev mjt@tls.msk.ru Nicolas Graner Nicolas.Graner@cri.u-psud.fr Mike McEwan mike@lotusland.demon.co.uk NIIBE Yutaka gniibe@chroot.org diff --git a/g10/ChangeLog b/g10/ChangeLog index 95c4f146c..54f8420de 100644 --- a/g10/ChangeLog +++ b/g10/ChangeLog @@ -1,3 +1,8 @@ +Fri Aug 4 14:23:05 CEST 2000 Werner Koch + + * status.c (do_get_from_fd): Ooops, we used fd instead of opt.command_fd. + Thanks to Michael Tokarev. + Tue Aug 1 20:06:23 CEST 2000 Werner Koch * g10.c: New opttion --try-all-secrets on suggestion from Matthias Urlichs. diff --git a/g10/status.c b/g10/status.c index f6e51a8c3..ba30c01e3 100644 --- a/g10/status.c +++ b/g10/status.c @@ -365,7 +365,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;