aboutsummaryrefslogtreecommitdiffstats
path: root/g10/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/status.c')
-rw-r--r--g10/status.c2
1 files changed, 1 insertions, 1 deletions
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;