From 46c9d84fb19ceb838f5372f414e07f314575cb38 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Fri, 28 Oct 2011 15:35:00 +0200 Subject: [PATCH] print suggestions if present --- src/http_command.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/http_command.c b/src/http_command.c index 963740f..587c908 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -642,6 +642,8 @@ static void cmd_bytarget(struct http_channel *c) wrbuf_puts(c->wrbuf, ht[i].settings_xml); wrbuf_puts(c->wrbuf, "\n"); } + if (ht[i].suggestions_xml) + wrbuf_puts(c->wrbuf, ht[i].suggestions_xml); wrbuf_puts(c->wrbuf, ""); } response_close(c, "bytarget"); -- 1.7.10.4