1
0
Fork 0
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:
Werner Koch 2000-08-04 12:21:48 +00:00
parent b996bf9777
commit ed2228d210
3 changed files with 7 additions and 1 deletions

View file

@ -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;