summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_gnutls.c
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-12-19 00:58:18 +0100
committerAlejandro Colomar <alx.manpages@gmail.com>2022-04-26 12:38:48 +0200
commita3d19f71a205d31ce141dcfd8880f7ed13bd65e5 (patch)
treeda2cbedff9645553ec4b2ea20c1d509ef4f46d49 /src/nxt_gnutls.c
parentbce0f432c402ad18718aecab227b663160682ea4 (diff)
downloadunit-a3d19f71a205d31ce141dcfd8880f7ed13bd65e5.tar.gz
unit-a3d19f71a205d31ce141dcfd8880f7ed13bd65e5.tar.bz2
Fixed indentation.
Some lines (incorrectly) had an indentation of 3 or 5, or 7 or 9, or 11 or 13, or 15 or 17 spaces instead of 4, 8, 12, or 16. Fix them. Found with: $ find src -type f | xargs grep -n '^ [^ ]'; $ find src -type f | xargs grep -n '^ [^ *]'; $ find src -type f | xargs grep -n '^ [^ ]'; $ find src -type f | xargs grep -n '^ [^ *]'; $ find src -type f | xargs grep -n '^ [^ +]'; $ find src -type f | xargs grep -n '^ [^ *+]'; $ find src -type f | xargs grep -n '^ [^ +]'; $ find src -type f | xargs grep -n '^ [^ *+]';
Diffstat (limited to 'src/nxt_gnutls.c')
-rw-r--r--src/nxt_gnutls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_gnutls.c b/src/nxt_gnutls.c
index 4618dce9..aab4699c 100644
--- a/src/nxt_gnutls.c
+++ b/src/nxt_gnutls.c
@@ -708,11 +708,11 @@ nxt_gnutls_log_error_level(nxt_event_conn_t *c, ssize_t err)
case GNUTLS_E_UNKNOWN_CIPHER_SUITE: /* -21 */
- /* Disable gnutls_bye(), because it returns GNUTLS_E_INTERNAL_ERROR. */
+ /* Disable gnutls_bye(), because it returns GNUTLS_E_INTERNAL_ERROR. */
ssltls = c->u.ssltls;
ssltls->no_shutdown = 1;
- /* Fall through. */
+ /* Fall through. */
case GNUTLS_E_UNEXPECTED_PACKET_LENGTH: /* -9 */
c->socket.error = 1000; /* Nonexistent errno code. */