X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zutil%2Fzget.c;h=629f082459680cd84923d870da38be8c4cb3ecfb;hb=29a22396d7d7b1219f5b83c35983c8fb1cd79e8f;hp=9ee6801664328ca10f5d7a5b00d1fa6f87b1ba08;hpb=4d531a1a9131d69c3b6c27fbac42837e22cff61c;p=yaz-moved-to-github.git diff --git a/zutil/zget.c b/zutil/zget.c index 9ee6801..629f082 100644 --- a/zutil/zget.c +++ b/zutil/zget.c @@ -3,7 +3,7 @@ * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * - * $Id: zget.c,v 1.13 2003-01-06 08:20:29 adam Exp $ + * $Id: zget.c,v 1.15 2003-10-08 21:48:19 adam Exp $ */ #include @@ -135,7 +135,7 @@ Z_PresentResponse *zget_PresentResponse(ODR o) r->referenceId = 0; r->numberOfRecordsReturned = odr_intdup(o, 0); r->nextResultSetPosition = odr_intdup(o, 0); - r->presentStatus = odr_intdup(o, Z_PRES_SUCCESS); + r->presentStatus = odr_intdup(o, Z_PresentStatus_success); r->records = 0; r->otherInfo = 0; return r; @@ -334,6 +334,7 @@ Z_SortResponse *zget_SortResponse(ODR o) r->sortStatus = odr_intdup(o, Z_SortStatus_success); r->resultSetStatus = odr_intdup(o, Z_SortResultSetStatus_empty); r->diagnostics = 0; + r->resultCount = 0; r->otherInfo = 0; return r; }