From: Nikos Mavrogiannopoulos Date: Thu, 29 Jan 2015 13:21:18 +0000 (+0100) Subject: set the appropriate direction when _gnutls_io_write_flush() is called X-Git-Tag: gnutls_3_4_0~326 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9cc85f905930ded0eb0236c1151e7262cf80dfb;p=thirdparty%2Fgnutls.git set the appropriate direction when _gnutls_io_write_flush() is called --- diff --git a/lib/gnutls_buffers.c b/lib/gnutls_buffers.c index 0641d888cd..c9ae0a502e 100644 --- a/lib/gnutls_buffers.c +++ b/lib/gnutls_buffers.c @@ -661,6 +661,7 @@ ssize_t _gnutls_io_write_flush(gnutls_session_t session) int i = 0; mbuffer_st *cur; + session->internals.direction = 1; _gnutls_write_log("WRITE FLUSH: %d bytes in buffer.\n", (int) send_buffer->byte_length);