From 8e8f0f4acb8f53da6edd6138d72b38d1da3bfcab Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Tue, 12 Aug 2003 12:00:53 +0000 Subject: more fixes by Arne. --- lib/gnutls_compress.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lib/gnutls_compress.c') 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; } - - - - -- cgit v1.2.1