X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fzebramap.c;h=b89aae268ecfb10f6f4449be8080ce36c7647fb3;hb=8f9e2cb55203802cb43fcda15a85797579372250;hp=e12b445673f00b91e6300275179e3d260b76057c;hpb=896c0427df9d8eff5de6a1735dcd992e067df844;p=idzebra-moved-to-github.git diff --git a/util/zebramap.c b/util/zebramap.c index e12b445..b89aae2 100644 --- a/util/zebramap.c +++ b/util/zebramap.c @@ -1,4 +1,4 @@ -/* $Id: zebramap.c,v 1.27 2002-08-02 19:26:57 adam Exp $ +/* $Id: zebramap.c,v 1.29 2002-12-16 22:59:34 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Index Data Aps @@ -225,7 +225,8 @@ ZebraMaps zebra_maps_open (Res res, const char *base) zms->nmem = nmem_create (); zms->tabpath = nmem_strdup (zms->nmem, - res_get_def (res, "profilePath", ".")); + res_get_def (res, "profilePath", + DEFAULT_PROFILE_PATH)); zms->tabroot = 0; if (base) zms->tabroot = nmem_strdup (zms->nmem, base); @@ -404,13 +405,8 @@ static int attr_find (AttrType *src, oid_value *attributeSetP) static void attr_init_APT (AttrType *src, Z_AttributesPlusTerm *zapt, int type) { -#ifdef ASN_COMPILED src->attributeList = zapt->attributes->attributes; src->num_attributes = zapt->attributes->num_attributes; -#else - src->attributeList = zapt->attributeList; - src->num_attributes = zapt->num_attributes; -#endif src->type = type; src->major = 0; src->minor = 0;