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)
trunk/gpgme/data-stream.c

index 18ad111dce26a971c7f4cefcfad2025ac38f8fd8..629fb3630e411fd6e547610b92198243455766ee 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);
 }