X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzsets.c;h=a200503586443b8c7ff532b596d21e8d79566d58;hb=ce556bc293c5eed60090acaf82cc668d333abd7b;hp=8e481327aca3b22d7338652b6ec273272091c8c7;hpb=91056985a65db6893bb136a9f92402dadfed659a;p=idzebra-moved-to-github.git diff --git a/index/zsets.c b/index/zsets.c index 8e48132..a200503 100644 --- a/index/zsets.c +++ b/index/zsets.c @@ -1,8 +1,5 @@ -/* $Id: zsets.c,v 1.130 2007-12-19 14:11:36 adam Exp $ - Copyright (C) 1995-2007 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1995-2008 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 @@ -1367,11 +1364,9 @@ static ZEBRA_RES zebra_recid_to_sysno(ZebraHandle zh, while (r && key_found.mem[0] == recid) { if (sysnos_offset < *no_sysnos) - sysnos[sysnos_offset] = + sysnos[sysnos_offset++] = key_found.mem[key_found.len-1]; - r = isamb_pp_read(pt, &key_found); - sysnos_offset++; } isamb_pp_close(pt); }