X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=index%2Frpnscan.c;fp=index%2Frpnscan.c;h=934956507360dbcfe9b16a1d12e28e070d1ed5c5;hp=1327f5f8f0ae357e120a50e4a9c9dce41811ad95;hb=e199777080c6fa0963d51b7df1763fd5286ca9a4;hpb=6f7dfe3c3f09f7104c1ae7616c9d207edeab308d diff --git a/index/rpnscan.c b/index/rpnscan.c index 1327f5f..9349565 100644 --- a/index/rpnscan.c +++ b/index/rpnscan.c @@ -1,4 +1,4 @@ -/* $Id: rpnscan.c,v 1.16 2007-10-30 19:17:15 adam Exp $ +/* $Id: rpnscan.c,v 1.17 2007-10-31 16:56:14 adam Exp $ Copyright (C) 1995-2007 Index Data ApS @@ -257,7 +257,7 @@ static int scan_save_set(ZebraHandle zh, ODR stream, NMEM nmem, } } if (!glist[pos].term) - zebra_term_untrans_iconv(zh, stream->mem, *index_type, + zebra_term_untrans_iconv(zh, stream->mem, index_type, &glist[pos].term, term); glist[pos].occurrences = count; zebra_snippets_destroy(rec_snippets); @@ -283,7 +283,7 @@ static ZEBRA_RES rpn_scan_ver2(ZebraHandle zh, ODR stream, NMEM nmem, { struct scan2_info_entry *ar = nmem_malloc(nmem, sizeof(*ar) * ord_no); struct rpn_char_map_info rcmi; - zebra_map_t zm = zebra_map_get(zh->reg->zebra_maps, *index_type); + zebra_map_t zm = zebra_map_get(zh->reg->zebra_maps, index_type); int i, dif; int after_pos; int pos = 0;