aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-11-18 08:46:59 +0100
committerDaniel Stenberg <daniel@haxx.se>2016-11-24 23:41:45 +0100
commit8b4352658af289926ba9edfe1b456278ac971122 (patch)
tree537c05255ed346dd60c0e346dbc8f9fcf2c3bdf2 /lib/vtls
parent8cb872df10b267bb7bea6bfd5cca60b7d68c3e0e (diff)
gtls: fix indent to silence compiler warning
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;
Diffstat (limited to 'lib/vtls')
-rw-r--r--lib/vtls/gtls.c2
1 files changed, 1 insertions, 1 deletions
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,