projects
/
pazpar2-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:
8878d0d
)
Do not display termlist id in response
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 6 Jul 2015 08:36:57 +0000
(10:36 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 6 Jul 2015 08:36:57 +0000
(10:36 +0200)
src/session.c
patch
|
blob
|
history
diff --git
a/src/session.c
b/src/session.c
index
e8ef2d4
..
a83acf6
100644
(file)
--- a/
src/session.c
+++ b/
src/session.c
@@
-1283,12
+1283,6
@@
void perform_termlist(struct http_channel *c, struct session *se,
wrbuf_puts(c->wrbuf, "<name>");
wrbuf_xmlputs(c->wrbuf, p[i]->display_term);
wrbuf_puts(c->wrbuf, "</name>");
- if (p[i]->id)
- {
- wrbuf_puts(c->wrbuf, "<value>");
- wrbuf_xmlputs(c->wrbuf, p[i]->id);
- wrbuf_puts(c->wrbuf, "</value>");
- }
wrbuf_printf(c->wrbuf,
"<frequency>%d</frequency>",
p[i]->frequency);