From 07c42c262fa35402e546760404ec9464e0cdad8e Mon Sep 17 00:00:00 2001 From: Danila Shtan Date: Wed, 12 Feb 2014 15:44:41 +0500 Subject: [PATCH] fix comment typos --- core/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/cache.c b/core/cache.c index cc84163d..a93cdfbc 100644 --- a/core/cache.c +++ b/core/cache.c @@ -104,7 +104,7 @@ static uint64_t cache_mark_blocks(struct uwsgi_cache *uc, uint64_t index, uint64 uint64_t first_byte = index/8; uint8_t first_byte_bit = index % 8; - // offset starts with 0, so actial last byte is index + needed_blocks - 1 + // offset starts with 0, so actual last bit is index + needed_blocks - 1 uint64_t last_byte = (index + needed_blocks - 1) / 8; uint8_t last_byte_bit = (index + needed_blocks - 1) % 8;