From: Adam Dickmeiss Date: Mon, 27 Oct 2008 17:53:53 +0000 (+0100) Subject: Fixed bug #2021.. location now holds all brief elements. X-Git-Tag: v1.0.12~2 X-Git-Url: http://git.indexdata.com/?p=pazpar2-moved-to-github.git;a=commitdiff_plain;h=4e4db8f9cdcbf2473ff56a06e91dcc0ef9e206fe Fixed bug #2021.. location now holds all brief elements. --- diff --git a/src/http_command.c b/src/http_command.c index 1272415..426b357 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -486,8 +486,7 @@ static void write_subrecord(struct record *r, WRBUF w, wrbuf_xmlputs(w, *name ? name : "Unknown"); wrbuf_puts(w, "\">"); - if (show_details) - write_metadata(w, service, r->metadata, 1); + write_metadata(w, service, r->metadata, show_details); wrbuf_puts(w, "\n"); }