X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fhttp_command.c;h=052f0251331270ab9a4c86c9267ef0ab738f96db;hb=0ff1a97b2a69905755b9adb24a474d30f1c52150;hp=7699b9a5654fd2ad6fa238cd6c2498111082c9dd;hpb=7db06f8379d23e8f1bce2c87f3ce082bb56ac2db;p=pazpar2-moved-to-github.git diff --git a/src/http_command.c b/src/http_command.c index 7699b9a..052f025 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -1,4 +1,4 @@ -/* $Id: http_command.c,v 1.60 2007-09-05 08:40:12 adam Exp $ +/* $Id: http_command.c,v 1.62 2007-09-10 16:25:50 adam Exp $ Copyright (c) 2006-2007, Index Data. This file is part of Pazpar2. @@ -20,7 +20,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA */ /* - * $Id: http_command.c,v 1.60 2007-09-05 08:40:12 adam Exp $ + * $Id: http_command.c,v 1.62 2007-09-10 16:25:50 adam Exp $ */ #include @@ -455,7 +455,7 @@ static void write_metadata(WRBUF w, struct conf_service *service, switch (cmd->type) { case Metadata_type_generic: - wrbuf_xmlputs(w, md->data.text); + wrbuf_xmlputs(w, md->data.text.disp); break; case Metadata_type_year: wrbuf_printf(w, "%d", md->data.number.min); @@ -596,7 +596,6 @@ static void cmd_record_ready(void *data) { struct http_channel *c = (struct http_channel *) data; - yaz_log(YLOG_LOG, "cmd_records_ready chan=%p", c); cmd_record(c); }