* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: seshigh.c,v 1.100 2006-10-05 15:24:02 adam Exp $
+ * $Id: seshigh.c,v 1.102 2006-10-24 08:12:12 adam Exp $
*/
/**
* \file seshigh.c
odr_intdup(assoc->encode, *rr.srw_setnameIdleTime );
}
- if (start > rr.hits || start < 1)
+ if ((rr.hits > 0 && start > rr.hits) || start < 1)
{
yaz_add_srw_diagnostic(
assoc->encode,
assoc->init->implementation_name,
odr_prepend(assoc->encode, "GFS", resp->implementationName));
- version = odr_strdup(assoc->encode, "$Revision: 1.100 $");
+ version = odr_strdup(assoc->encode, "$Revision: 1.102 $");
if (strlen(version) > 10) /* check for unexpanded CVS strings */
version[strlen(version)-2] = '\0';
resp->implementationVersion = odr_prepend(assoc->encode,