aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gpgme/data-stream.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gpgme/data-stream.c b/gpgme/data-stream.c
index 18ad111d..629fb363 100644
--- a/gpgme/data-stream.c
+++ b/gpgme/data-stream.c
@@ -74,6 +74,7 @@ stream_seek (gpgme_data_t dh, off_t offset, int whence)
static int
stream_get_fd (gpgme_data_t dh)
{
+ fflush (dh->data.stream);
return fileno (dh->data.stream);
}