Extra brace around it stmt to avoid warning
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 12 Feb 2013 09:55:26 +0000 (10:55 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 12 Feb 2013 09:55:26 +0000 (10:55 +0100)
src/zoom-sru.c

index 4507c8b..c3328fe 100644 (file)
@@ -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
     {