diff options
Diffstat (limited to 'gpgme/rungpg.c')
-rw-r--r-- | gpgme/rungpg.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gpgme/rungpg.c b/gpgme/rungpg.c index 5250b565..36b6f799 100644 --- a/gpgme/rungpg.c +++ b/gpgme/rungpg.c @@ -1016,10 +1016,11 @@ read_status ( GpgObject gpg ) gpg->status.fnc ( gpg->status.fnc_value, r->code, rest); } - } - if ( r->code == STATUS_END_STREAM ) { - if ( gpg->cmd.used ) - _gpgme_freeze_fd ( gpg->cmd.fd ); + + if ( r->code == STATUS_END_STREAM ) { + if ( gpg->cmd.used ) + _gpgme_freeze_fd ( gpg->cmd.fd ); + } } } /* To reuse the buffer for the next line we have to |