summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_unit.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_unit.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_unit.c')
-rw-r--r--src/nxt_unit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_unit.c b/src/nxt_unit.c
index dac612b8..32bb07ab 100644
--- a/src/nxt_unit.c
+++ b/src/nxt_unit.c
@@ -5114,9 +5114,9 @@ nxt_unit_ctx_alloc(nxt_unit_ctx_t *ctx, void *data)
rc = nxt_unit_ctx_init(lib, new_ctx, data);
if (nxt_slow_path(rc != NXT_UNIT_OK)) {
- nxt_unit_free(ctx, new_ctx);
+ nxt_unit_free(ctx, new_ctx);
- return NULL;
+ return NULL;
}
queue_fd = -1;