diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-08-12 12:00:53 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-08-12 12:00:53 +0000 |
commit | 8e8f0f4acb8f53da6edd6138d72b38d1da3bfcab (patch) | |
tree | 5f5edfce2c9a492608d814c4d90a23695a7c6d5e /lib/gnutls_compress.c | |
parent | 337c73cd284f2bfa0015694f6e3da0301e3722b4 (diff) | |
download | gnutls-8e8f0f4acb8f53da6edd6138d72b38d1da3bfcab.tar.gz |
more fixes by Arne.
Diffstat (limited to 'lib/gnutls_compress.c')
-rw-r--r-- | lib/gnutls_compress.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/gnutls_compress.c b/lib/gnutls_compress.c index 4e34b31db2..18e4a253d3 100644 --- a/lib/gnutls_compress.c +++ b/lib/gnutls_compress.c @@ -38,8 +38,6 @@ int _gnutls_m_plaintext2compressed(gnutls_session session, int size; char *data; - data=NULL; - size = _gnutls_compress( session->connection_state.write_compression_state, plaintext.data, plaintext.size, &data, MAX_RECORD_SEND_SIZE+1024); if (size < 0) { @@ -60,8 +58,6 @@ int _gnutls_m_compressed2plaintext(gnutls_session session, int size; char* data; - data=NULL; - size = _gnutls_decompress( session->connection_state.read_compression_state, compressed.data, compressed.size, &data, MAX_RECORD_RECV_SIZE); if (size < 0) { @@ -73,7 +69,3 @@ int _gnutls_m_compressed2plaintext(gnutls_session session, return 0; } - - - - |