From d5746b36f9cb0ca3675a5237d1f805a2b9279555 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Tue, 13 Jan 2015 20:33:24 +0100 Subject: [PATCH] Fix warning --- library/ssl_tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ssl_tls.c b/library/ssl_tls.c index 22bd6974c..ac740585c 100644 --- a/library/ssl_tls.c +++ b/library/ssl_tls.c @@ -4846,7 +4846,7 @@ int ssl_write( ssl_context *ssl, const unsigned char *buf, size_t len ) return( ssl_write_real( ssl, buf, len ) ); } - if( ssl->split_done == 0 ) + if( ssl->split_done != 1 ) { ssl->split_done = 1; if( ( ret = ssl_write_real( ssl, buf, 1 ) ) < 0 )