X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=bfile%2Fcommit.c;h=643016ada0a4bc1ef922ea9387ec9b8b84b811eb;hb=177b6485ea4d8fddcbfe60595e4c47c8a64c0074;hp=680b70664cad84a8bc9a56f8a4481886748440ad;hpb=9b0da910be52bf3b781cae7575bbac7a08e54080;p=idzebra-moved-to-github.git diff --git a/bfile/commit.c b/bfile/commit.c index 680b706..643016a 100644 --- a/bfile/commit.c +++ b/bfile/commit.c @@ -1,5 +1,5 @@ /* This file is part of the Zebra server. - Copyright (C) 1994-2011 Index Data + Copyright (C) Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -98,7 +98,7 @@ static int map_cache_flush(struct map_cache *m_p) if (mf_write(m_p->cf->rmf, m_p->map[i].to, 0, 0, m_p->buf + m_p->map[i].from * m_p->cf->head.block_size)) return -1; - } + } m_p->no = 0; return 0; } @@ -128,7 +128,7 @@ static int map_cache_add(struct map_cache *m_p, int from, int to) #endif static int cf_commit_hash (CFile cf) -{ +{ int r = 0; int i; zint bucket_no;