summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/nxt_lvlhsh.c4
-rw-r--r--src/nxt_mp.c2
-rw-r--r--src/nxt_sprintf.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/nxt_lvlhsh.c b/src/nxt_lvlhsh.c
index 21fda895..bf730ada 100644
--- a/src/nxt_lvlhsh.c
+++ b/src/nxt_lvlhsh.c
@@ -858,8 +858,8 @@ nxt_lvlhsh_bucket_each(nxt_lvlhsh_each_t *lhe)
if (lhe->entries == 0) {
next = *nxt_lvlhsh_next_bucket(lhe->proto, lhe->bucket);
- lhe->bucket = (next == NULL) ? NXT_LVLHSH_BUCKET_DONE:
- nxt_lvlhsh_bucket(lhe->proto, next);
+ lhe->bucket = (next == NULL) ? NXT_LVLHSH_BUCKET_DONE
+ : nxt_lvlhsh_bucket(lhe->proto, next);
lhe->entries = nxt_lvlhsh_bucket_entries(lhe->proto, next);
lhe->entry = 0;
diff --git a/src/nxt_mp.c b/src/nxt_mp.c
index 711fe2ca..5a7308cd 100644
--- a/src/nxt_mp.c
+++ b/src/nxt_mp.c
@@ -180,7 +180,7 @@ nxt_mp_create(size_t cluster_size, size_t page_alignment, size_t page_size,
nxt_queue_init(chunk_pages);
chunk_pages++;
pages--;
- };
+ }
nxt_queue_init(&mp->free_pages);
nxt_queue_init(&mp->nget_pages);
diff --git a/src/nxt_sprintf.c b/src/nxt_sprintf.c
index 8aefaa50..4b77725f 100644
--- a/src/nxt_sprintf.c
+++ b/src/nxt_sprintf.c
@@ -51,7 +51,7 @@
* %t ptrdiff_t
* %S null-terminated wchar string
* %C wchar
- * %[0][width][u][x|X]Q int182_t/uint128_t
+ * %[0][width][u][x|X]Q int128_t/uint128_t
*/