/* This file is part of the Zebra server.
- Copyright (C) 1995-2008 Index Data
+ Copyright (C) 1994-2011 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
rec = rec_get(zei->records, zad->sysno);
(*zei->updateFunc)(zei->updateHandle, rec, 0);
- rec_free(&rec);
+ rec_del(zei->records, &rec);
}
/* remove database record keys and delete it */
rec = rec_get(zei->records, zdi->sysno);
(*zei->updateFunc)(zei->updateHandle, rec, 0);
- rec_free(&rec);
+ rec_del(zei->records, &rec);
/* remove from list */
*zdip = zdi->next;
assert(zcl);
if (!zcl->dirty)
return ;
- zcl->dirty = 1;
+ zcl->dirty = 0;
node_categoryList = zcl->data1_categoryList;
#if ZINFO_DEBUG
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab