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:53:53 +0000 (18:53 +0100)
src/http_command.c

index 0cc172b..29200d4 100644 (file)
@@ -485,8 +485,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");
 }