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:
43a2ca2
)
Remove redundant wrbuf_puts call
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 2 Jun 2015 13:49:30 +0000
(15:49 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 2 Jun 2015 13:49:30 +0000
(15:49 +0200)
src/session.c
patch
|
blob
|
history
diff --git
a/src/session.c
b/src/session.c
index
a94dc9f
..
9a68a22
100644
(file)
--- a/
src/session.c
+++ b/
src/session.c
@@
-1082,8
+1082,8
@@
static struct hitsbytarget *hitsbytarget_nb(struct session *se,
session_settings_dump(se, client_get_database(cl), w);
res[*count].settings_xml = nmem_strdup(nmem, wrbuf_cstr(w));
wrbuf_rewind(w);
- wrbuf_puts(w, "");
- res[*count].suggestions_xml = nmem_strdup(nmem, client_get_suggestions_xml(cl, w));
+ res[*count].suggestions_xml =
+ nmem_strdup(nmem, client_get_suggestions_xml(cl, w));
wrbuf_destroy(w);
(*count)++;
}