diff options
Diffstat (limited to 'src/gnutls/idle_ready.c')
-rw-r--r-- | src/gnutls/idle_ready.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gnutls/idle_ready.c b/src/gnutls/idle_ready.c index 0e315950..ddc471a9 100644 --- a/src/gnutls/idle_ready.c +++ b/src/gnutls/idle_ready.c | |||
@@ -1,12 +1,12 @@ | |||
1 | enum MHD_Bool | 1 | enum MHD_Bool |
2 | (*idle_ready)(void *cls, | 2 | (*idle_ready)(void *cls, |
3 | struct MHD_TLS_ConnectionState *cs); | 3 | struct MHD_TLS_ConnectionState *cs); |
4 | 4 | ||
5 | 5 | ||
6 | if (MHD_TLS_CONN_NO_TLS != connection->tls_state) | 6 | if (MHD_TLS_CONN_NO_TLS != connection->tls_state) |
7 | { /* HTTPS connection. */ | 7 | { /* HTTPS connection. */ |
8 | if ((MHD_TLS_CONN_INIT <= connection->tls_state) && | 8 | if ((MHD_TLS_CONN_INIT <= connection->tls_state) && |
9 | (MHD_TLS_CONN_CONNECTED > connection->tls_state)) | 9 | (MHD_TLS_CONN_CONNECTED > connection->tls_state)) |
10 | return false; | 10 | return false; |
11 | } | 11 | } |
12 | return true; | 12 | return true; |