X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fhttp_command.c;h=9fc50a8059c1c2d5dda4562a451b4c4a42fd80e5;hb=f75dc6076c0d4846d80929c40894bb4fdd678dc2;hp=8887e91e3dc2323561dc582ed604590cfac559a7;hpb=61a9c0fc574244c16e5a6bd44e796549de0bd559;p=pazpar2-moved-to-github.git
diff --git a/src/http_command.c b/src/http_command.c
index 8887e91..9fc50a8 100644
--- a/src/http_command.c
+++ b/src/http_command.c
@@ -726,6 +726,9 @@ static void bytarget_response(struct http_channel *c, struct http_session *s, co
wrbuf_printf(c->wrbuf, "%d\n", ht[i].diagnostic);
if (ht[i].diagnostic)
{
+ wrbuf_puts(c->wrbuf, "");
+ wrbuf_xmlputs(c->wrbuf, ht[i].message);
+ wrbuf_puts(c->wrbuf, "\n");
wrbuf_puts(c->wrbuf, "");
if (ht[i].addinfo)
wrbuf_xmlputs(c->wrbuf, ht[i].addinfo);