From 8b4352658af289926ba9edfe1b456278ac971122 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 18 Nov 2016 08:46:59 +0100 Subject: gtls: fix indent to silence compiler warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit vtls/gtls.c: In function ‘Curl_gtls_data_pending’: vtls/gtls.c:1429:3: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation] if(conn->proxy_ssl[connindex].session && ^~ vtls/gtls.c:1433:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ return res; --- lib/vtls/gtls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/vtls/gtls.c') diff --git a/lib/vtls/gtls.c b/lib/vtls/gtls.c index ba07faac6..4ef06ee5d 100644 --- a/lib/vtls/gtls.c +++ b/lib/vtls/gtls.c @@ -1430,7 +1430,7 @@ bool Curl_gtls_data_pending(const struct connectdata *conn, int connindex) 0 != gnutls_record_check_pending(conn->proxy_ssl[connindex].session)) res = TRUE; - return res; + return res; } static ssize_t gtls_send(struct connectdata *conn, -- cgit v1.2.3