From 592c169f15e5c63b629dcc2b561c009615d7a6bf Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 2 Jun 2015 15:49:30 +0200 Subject: [PATCH] Remove redundant wrbuf_puts call --- src/session.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/session.c b/src/session.c index a94dc9f..9a68a22 100644 --- 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)++; } -- 1.7.10.4