From 8fe13e342d037b0a7a265dfbf19c8d71e7eb9d49 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 12 Feb 2013 10:55:26 +0100 Subject: [PATCH] Extra brace around it stmt to avoid warning --- src/zoom-sru.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/zoom-sru.c b/src/zoom-sru.c index 4507c8b..c3328fe 100644 --- a/src/zoom-sru.c +++ b/src/zoom-sru.c @@ -404,10 +404,12 @@ int ZOOM_handle_sru(ZOOM_connection c, Z_HTTP_Response *hres, Z_SRW_PDU *sr; ret = yaz_solr_decode_response(c->odr_in, hres, &sr); if (ret == 0) + { if (sr->which == Z_SRW_searchRetrieve_response) *cret = handle_srw_response(c, sr->u.response); else if (sr->which == Z_SRW_scan_response) handle_srw_scan_response(c, sr->u.scan_response); + } } else { -- 1.7.10.4