X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=dict%2Fdrdwr.c;h=b7ae8bff50958a8d17c5ab669c04621266bab286;hb=aeea139423b8eaf28a4de53b3d7b2ad1f22284e7;hp=670ed456698606ef4b8dd90e17d4d449379af104;hpb=0052fb5520062c328006dc3537f39d28e88f3579;p=idzebra-moved-to-github.git diff --git a/dict/drdwr.c b/dict/drdwr.c index 670ed45..b7ae8bf 100644 --- a/dict/drdwr.c +++ b/dict/drdwr.c @@ -59,7 +59,7 @@ static void release_block(Dict_BFile bf, struct Dict_file_block *p) { assert(p); - /* remove from lru queue */ + /* remove from lru queue */ if (p->lru_prev) p->lru_prev->lru_next = p->lru_next; else @@ -106,7 +106,7 @@ void dict_bf_flush_blocks(Dict_BFile bf, int no_to_flush) effective_block, effective_offset, p->nbytes); #endif - + } else { @@ -158,7 +158,7 @@ static struct Dict_file_block *alloc_block(Dict_BFile bf, int no) if (*pp) (*pp)->h_prev = &p->h_next; *pp = p; - + return p; } @@ -166,7 +166,7 @@ static void move_to_front(Dict_BFile bf, struct Dict_file_block *p) { /* Already at front? */ if (!p->lru_next) - return ; + return ; /* Remove */ if (p->lru_prev)