about summary refs log tree commit diff stats
path: root/src/tidy_tls.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2015-12-15 01:42:54 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2015-12-15 01:42:54 -0500
commit769b6cceb3e3a602353f47b91c1214dd47455966 (patch)
tree1c5e07f961a13c8e2ada76a324d336b53fa34cce /src/tidy_tls.c
parent84b858446526002867227b47c790d20273b8e146 (diff)
downloadlynx-snapshots-769b6cceb3e3a602353f47b91c1214dd47455966.tar.gz
snapshot of project "lynx", label v2-8-9dev_6n
Diffstat (limited to 'src/tidy_tls.c')
-rw-r--r--src/tidy_tls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tidy_tls.c b/src/tidy_tls.c
index d94ba5cf..012c25d8 100644
--- a/src/tidy_tls.c
+++ b/src/tidy_tls.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: tidy_tls.c,v 1.31 2015/10/12 00:31:21 tom Exp $
+ * $LynxId: tidy_tls.c,v 1.32 2015/12/15 01:41:06 tom Exp $
  * Copyright 2008-2014,2015 Thomas E. Dickey
  * with fix Copyright 2008 by Thomas Viehmann
  *
@@ -441,10 +441,10 @@ SSL *SSL_new(SSL_CTX * ctx)
 
 	    ssl->rfd = (gnutls_transport_ptr_t) (-1);
 	    ssl->wfd = (gnutls_transport_ptr_t) (-1);
+	    ssl->bytes_sent = 0;
+	    ssl->sendbuffer = 0;
 	}
     }
-    ssl->bytes_sent = 0;
-    ssl->sendbuffer = 0;
 
     return ssl;
 }