X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=isamb%2Fisamb.c;h=343e5e3794e18de0d20a4e6edac4a01625db3c30;hb=1dec188ccbdafb0ec7b7c98857d701a7b77d46a1;hp=cd36e3708e8ed5da166a705fbe29ae066d61e366;hpb=a20e59c5087fb92c419f2330c786367f9ce8ccd2;p=idzebra-moved-to-github.git diff --git a/isamb/isamb.c b/isamb/isamb.c index cd36e37..343e5e3 100644 --- a/isamb/isamb.c +++ b/isamb/isamb.c @@ -2,7 +2,7 @@ * Copyright (c) 2000-2002, Index Data. * See the file LICENSE for details. * - * $Id: isamb.c,v 1.16 2002-05-30 13:22:17 adam Exp $ + * $Id: isamb.c,v 1.17 2002-06-19 10:29:17 adam Exp $ */ #include #include @@ -74,12 +74,12 @@ void decode_ptr (char **src, int *pos) ISAMB isamb_open (BFiles bfs, const char *name, int writeflag, ISAMC_M method) { ISAMB isamb = xmalloc (sizeof(*isamb)); - int i, b_size = 64; + int i, b_size = 32; isamb->bfs = bfs; isamb->method = (ISAMC_M) xmalloc (sizeof(*method)); memcpy (isamb->method, method, sizeof(*method)); - isamb->no_cat = 3; + isamb->no_cat = 4; isamb->file = xmalloc (sizeof(*isamb->file) * isamb->no_cat); for (i = 0; ino_cat; i++)