1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

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;
This commit is contained in:
Daniel Stenberg 2016-11-18 08:46:59 +01:00
parent 8cb872df10
commit 8b4352658a

View File

@ -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,