From: Adam Dickmeiss Date: Thu, 29 Jan 1998 13:13:39 +0000 (+0000) Subject: Function zget_presentRequest fills resultSetId with "default" instead X-Git-Tag: YAZ.1.8~539 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=0fa324b5444b23e6ad84796393644dcd6aeb7469;p=yaz-moved-to-github.git Function zget_presentRequest fills resultSetId with "default" instead of "Default". --- diff --git a/asn/Makefile b/asn/Makefile index e28ec38..3b20bef 100644 --- a/asn/Makefile +++ b/asn/Makefile @@ -1,7 +1,7 @@ -# Copyright (C) 1994, Index Data I/S +# Copyright (C) 1995-1998, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.25 1997-09-17 12:10:28 adam Exp $ +# $Id: Makefile,v 1.26 1998-01-29 13:13:39 adam Exp $ SHELL=/bin/sh INCLUDE=-I../include -I. @@ -9,7 +9,6 @@ LIBDIR=../lib LIBINCLUDE=-L$(LIBDIR) DEFS=$(INCLUDE) $(CDEFS) LIB=$(LIBDIR)/libasn.a -LIBS=-lodr -lasn PO = proto.o diagbib1.o zget.o prt-rsc.o prt-acc.o prt-exp.o prt-ext.o \ prt-grs.o prt-exd.o prt-dia.o prt-esp.o prt-arc.o prt-add.o CPP=$(CC) -E diff --git a/asn/zget.c b/asn/zget.c index 9cb70f7..c48f9e5 100644 --- a/asn/zget.c +++ b/asn/zget.c @@ -1,10 +1,14 @@ /* - * Copyright (c) 1995, Index Data. + * Copyright (c) 1995-1998, Index Data. * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * * $Log: zget.c,v $ - * Revision 1.12 1997-10-29 12:00:37 adam + * Revision 1.13 1998-01-29 13:13:39 adam + * Function zget_presentRequest fills resultSetId with "default" instead + * of "Default". + * + * Revision 1.12 1997/10/29 12:00:37 adam * Routine zget_SearchRequest fills resultSetName member with "default" * instead of "Default". * @@ -150,7 +154,7 @@ Z_PresentRequest *zget_PresentRequest(ODR o) Z_PresentRequest *r = odr_malloc(o, sizeof(*r)); r->referenceId = 0; - r->resultSetId = "Default"; + r->resultSetId = "default"; r->resultSetStartPoint = odr_malloc(o, sizeof(int)); *r->resultSetStartPoint = 1; r->numberOfRecordsRequested = odr_malloc(o, sizeof(int));