From: Adam Dickmeiss Date: Thu, 20 Apr 2006 00:01:01 +0000 (+0000) Subject: Fixed bug in yaz_srw_get: case Z_SRW_scan_response missed a break. X-Git-Tag: YAZ.2.1.18~29 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=ca738bbdd47372785611f6e590e6500b76a34f2c;p=yaz-moved-to-github.git Fixed bug in yaz_srw_get: case Z_SRW_scan_response missed a break. --- diff --git a/src/srwutil.c b/src/srwutil.c index 73226d5..b38a73a 100644 --- a/src/srwutil.c +++ b/src/srwutil.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: srwutil.c,v 1.37 2006-03-22 13:03:59 adam Exp $ + * $Id: srwutil.c,v 1.38 2006-04-20 00:01:01 adam Exp $ */ /** * \file srwutil.c @@ -689,6 +689,7 @@ Z_SRW_PDU *yaz_srw_get(ODR o, int which) sr->u.scan_response->num_terms = 0; sr->u.scan_response->diagnostics = 0; sr->u.scan_response->num_diagnostics = 0; + break; case Z_SRW_update_request: sr->u.update_request = (Z_SRW_updateRequest *) odr_malloc(o, sizeof(*sr->u.update_request));