summaryrefslogtreecommitdiff
path: root/lib/gnutls_compress.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-08-12 12:00:53 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-08-12 12:00:53 +0000
commit8e8f0f4acb8f53da6edd6138d72b38d1da3bfcab (patch)
tree5f5edfce2c9a492608d814c4d90a23695a7c6d5e /lib/gnutls_compress.c
parent337c73cd284f2bfa0015694f6e3da0301e3722b4 (diff)
downloadgnutls-8e8f0f4acb8f53da6edd6138d72b38d1da3bfcab.tar.gz
more fixes by Arne.
Diffstat (limited to 'lib/gnutls_compress.c')
-rw-r--r--lib/gnutls_compress.c8
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;
}
-
-
-
-