/* This file is part of Pazpar2.
- Copyright (C) 2006-2011 Index Data
+ Copyright (C) 2006-2012 Index Data
Pazpar2 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
error_handler(data, "no resultset");
return;
}
- rec = ZOOM_resultset_record(resultset, position-1);
+ rec = ZOOM_resultset_record_immediate(resultset, position-1);
if (!rec)
{
error_handler(data, "no record");
ZOOM_record rec = 0;
ZOOM_resultset resultset = cl->resultset;
int offset = cl->record_offset;
- if ((rec = ZOOM_resultset_record(resultset, offset)))
+ if ((rec = ZOOM_resultset_record_immediate(resultset, offset)))
{
cl->record_offset++;
- if (cl->session == 0)
- ;
+ if (cl->session == 0) {
+ /* no operation */
+ }
else if (ZOOM_record_error(rec, &msg, &addinfo, 0))
{
yaz_log(YLOG_WARN, "Record error %s (%s): %s (rec #%d)",
if (cl->show_raw && cl->show_raw->active)
{
ZOOM_record rec = 0;
- if ((rec = ZOOM_resultset_record(resultset,
- cl->show_raw->position-1)))
+ if ((rec = ZOOM_resultset_record_immediate(
+ resultset, cl->show_raw->position-1)))
{
cl->show_raw->active = 0;
ingest_raw_record(cl, rec);
wrbuf_puts(w_ccl, ")");
}
- else if (!strncmp(s->value, "local:", 6))
- ;
+ else if (!strncmp(s->value, "local:", 6)) {
+ /* no operation */
+ }
else
{
yaz_log(YLOG_WARN, "Target %s: Bad limitmap '%s'",