Fixed bug #2021.. location now holds all brief elements.
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 27 Oct 2008 17:53:53 +0000 (18:53 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 27 Oct 2008 17:55:27 +0000 (18:55 +0100)
src/http_command.c

index 1272415..426b357 100644 (file)
@@ -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, "</location>\n");
 }