diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-01-29 14:21:18 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-01-29 14:31:30 +0100 |
commit | 9ca1dc987ef29d4bae04e8f0f2cd2f9bc939a17a (patch) | |
tree | 25c07fcdd8ccf1cccc20236830836cfab1875dd5 | |
parent | a7bd18ed4122946cd7d0d5c5cd32145554557e39 (diff) | |
download | gnutls-9ca1dc987ef29d4bae04e8f0f2cd2f9bc939a17a.tar.gz |
set the appropriate direction when _gnutls_io_write_flush() is called
-rw-r--r-- | lib/gnutls_buffers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gnutls_buffers.c b/lib/gnutls_buffers.c index fa446aa84a..f323a946bb 100644 --- a/lib/gnutls_buffers.c +++ b/lib/gnutls_buffers.c @@ -658,6 +658,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); |