projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add link to memcached(3) man page online
[yaz-moved-to-github.git]
/
src
/
zoom-z3950.c
diff --git
a/src/zoom-z3950.c
b/src/zoom-z3950.c
index
ad46592
..
2835262
100644
(file)
--- a/
src/zoom-z3950.c
+++ b/
src/zoom-z3950.c
@@
-1577,10
+1577,9
@@
zoom_ret ZOOM_connection_Z3950_search(ZOOM_connection c)
if (resultset->live_set)
{
if (resultset->live_set)
{
- if (*start >= resultset->size)
- return zoom_complete;
if (*start + *count > resultset->size)
if (*start + *count > resultset->size)
- *count = resultset->size - *start;
+ ZOOM_set_dset_error(c, YAZ_BIB1_PRESENT_REQUEST_OUT_OF_RANGE, "Bib-1",
+ 0, 0);
}
if (c->error) /* don't continue on error */
}
if (c->error) /* don't continue on error */