X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=bfile%2Fcommit.c;h=0c38ca83bba5c262e1f44d0c54741ad5b4b1eca3;hb=2c2827a0071c5a5511e1489c456ce64fdd42364a;hp=680b70664cad84a8bc9a56f8a4481886748440ad;hpb=9b0da910be52bf3b781cae7575bbac7a08e54080;p=idzebra-moved-to-github.git diff --git a/bfile/commit.c b/bfile/commit.c index 680b706..0c38ca8 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) 2004-2013 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;