diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2007-11-14 07:59:22 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2007-11-14 07:59:22 +0200 |
commit | 64061d8f726cbb4865186f26d6aa484928d6dbb0 (patch) | |
tree | 09d0bce9900ca4001f1169d3b522ca7dd17cfe19 /lib/gnutls_compress.c | |
parent | f3a6c12fb06c0b7f3e54b210cafae79ca3476c08 (diff) | |
download | gnutls-64061d8f726cbb4865186f26d6aa484928d6dbb0.tar.gz |
some updates in the compression code
Diffstat (limited to 'lib/gnutls_compress.c')
-rw-r--r-- | lib/gnutls_compress.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_compress.c b/lib/gnutls_compress.c index 32b263b9ee..843afd7f85 100644 --- a/lib/gnutls_compress.c +++ b/lib/gnutls_compress.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2000, 2004, 2005 Free Software Foundation + * Copyright (C) 2000, 2004, 2005, 2007 Free Software Foundation * * Author: Nikos Mavrogiannopoulos * @@ -44,7 +44,7 @@ _gnutls_m_plaintext2compressed (gnutls_session_t session, size = _gnutls_compress (session->connection_state.write_compression_state, plaintext->data, plaintext->size, &data, - MAX_RECORD_SEND_SIZE + 1024); + MAX_RECORD_SEND_SIZE + EXTRA_COMP_SIZE); if (size < 0) { gnutls_assert (); |