projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Using the key_control block for the first key-handling functions in all
[idzebra-moved-to-github.git]
/
index
/
retrieve.c
diff --git
a/index/retrieve.c
b/index/retrieve.c
index
909c41f
..
1f30851
100644
(file)
--- a/
index/retrieve.c
+++ b/
index/retrieve.c
@@
-1,4
+1,4
@@
-/* $Id: retrieve.c,v 1.22 2004-08-04 08:35:23 adam Exp $
+/* $Id: retrieve.c,v 1.24 2004-08-10 08:19:15 heikki Exp $
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
Index Data Aps
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
Index Data Aps
@@
-70,7
+70,7
@@
int zebra_record_int_read (void *fh, char *buf, size_t count)
int l = fc->record_int_len - fc->record_int_pos;
if (l <= 0)
return 0;
int l = fc->record_int_len - fc->record_int_pos;
if (l <= 0)
return 0;
- l = (l < (int) count) ? l : count;
+ l = (l < (int) count) ? l : (int) count;
memcpy (buf, fc->record_int_buf + fc->record_int_pos, l);
fc->record_int_pos += l;
return l;
memcpy (buf, fc->record_int_buf + fc->record_int_pos, l);
fc->record_int_pos += l;
return l;
@@
-101,7
+101,7
@@
int zebra_record_fetch (ZebraHandle zh, SYSNO sysno, int score, ODR stream,
if (!rec)
{
logf (LOG_DEBUG, "rec_get fail on sysno=" ZINT_FORMAT, sysno);
if (!rec)
{
logf (LOG_DEBUG, "rec_get fail on sysno=" ZINT_FORMAT, sysno);
- *basenamep = 0;
+ *basenamep = 0;
return 14;
}
recordAttr = rec_init_attr (zh->reg->zei, rec);
return 14;
}
recordAttr = rec_init_attr (zh->reg->zei, rec);