projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db43946
)
Extra brace around it stmt to avoid warning
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 12 Feb 2013 09:55:26 +0000
(10:55 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 12 Feb 2013 09:55:26 +0000
(10:55 +0100)
src/zoom-sru.c
patch
|
blob
|
history
diff --git
a/src/zoom-sru.c
b/src/zoom-sru.c
index
4507c8b
..
c3328fe
100644
(file)
--- 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
{