Fix last change.
authorMarcus Brinkmann <mb@g10code.com>
Thu, 18 Jan 2007 18:02:54 +0000 (18:02 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Thu, 18 Jan 2007 18:02:54 +0000 (18:02 +0000)
gpgme/data-stream.c

index 18ad111..629fb36 100644 (file)
@@ -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);
 }