X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fodr_mem.c;h=d9e402587917f80cd73988939d044305cdd4b11b;hp=42f8d873c89a4527e8a3c41c2b39bd9fac811029;hb=db93359f0cbf9a1e9dc81ea05f7b8662f843ae3d;hpb=28b489257f5f5b9263659a83a4df0ad2c61428c4 diff --git a/src/odr_mem.c b/src/odr_mem.c index 42f8d87..d9e4025 100644 --- a/src/odr_mem.c +++ b/src/odr_mem.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995-2005, Index Data ApS + * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: odr_mem.c,v 1.7 2006-02-19 18:33:09 adam Exp $ + * $Id: odr_mem.c,v 1.9 2007-03-19 21:08:13 adam Exp $ */ /** * \file odr_mem.c @@ -77,7 +77,7 @@ int odr_grow_block(ODR b, int min_bytes) { int togrow; - if (!b->can_grow) + if (!b->op->can_grow) return -1; if (!b->size) togrow = 1024;