mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
See ChangeLog: Fri Aug 4 14:23:05 CEST 2000 Werner Koch
This commit is contained in:
parent
b996bf9777
commit
ed2228d210
3 changed files with 7 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue