]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
fflush stdout and stderr before the call to setbuf. This fixes issue in solaris where...
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 23 Sep 2010 08:01:19 +0000 (10:01 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 23 Sep 2010 08:01:19 +0000 (10:01 +0200)
src/cli.c

index 34bdf7812a1a4e224a010aa8a8b50391eb2a30d8..5f5b22f63e15883e19bb53cef97611434775a478 100644 (file)
--- a/src/cli.c
+++ b/src/cli.c
@@ -830,6 +830,9 @@ after_handshake:
   signal (SIGALRM, &starttls_alarm);
 #endif
 
+  fflush(stdout);
+  fflush(stderr);
+
   /* do not buffer */
 #if !(defined _WIN32 || defined __WIN32__)
   setbuf (stdin, NULL);