diff options
Diffstat (limited to 'gpgme/rungpg.c')
-rw-r--r-- | gpgme/rungpg.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gpgme/rungpg.c b/gpgme/rungpg.c index 8c9d2b77..5250b565 100644 --- a/gpgme/rungpg.c +++ b/gpgme/rungpg.c @@ -1018,7 +1018,8 @@ read_status ( GpgObject gpg ) } } if ( r->code == STATUS_END_STREAM ) { - /* _gpgme_freeze_fd ( ? );*/ + if ( gpg->cmd.used ) + _gpgme_freeze_fd ( gpg->cmd.fd ); } } /* To reuse the buffer for the next line we have to @@ -1066,7 +1067,7 @@ gpg_colon_line_handler ( void *opaque, int pid, int fd ) return 1; } - return gpg->status.eof; + return gpg->colon.eof; } static GpgmeError |