From: Adam Dickmeiss Date: Tue, 12 Jun 2007 09:26:40 +0000 (+0000) Subject: Removed dead code X-Git-Tag: PAZPAR2.1.0.0~56 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=908584e2d5abfb8b3dca16cd84ba0d7bef5b70a4;p=pazpar2-moved-to-github.git Removed dead code --- diff --git a/src/http_command.c b/src/http_command.c index 2676fcb..b92b437 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -1,4 +1,4 @@ -/* $Id: http_command.c,v 1.49 2007-06-11 12:02:48 adam Exp $ +/* $Id: http_command.c,v 1.50 2007-06-12 09:26:40 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.49 2007-06-11 12:02:48 adam Exp $ + * $Id: http_command.c,v 1.50 2007-06-12 09:26:40 adam Exp $ */ #include @@ -263,7 +263,6 @@ static void targets_termlist(WRBUF wrbuf, struct session *se, int num) wrbuf_puts(wrbuf, "\n"); - //wrbuf_printf(wrbuf, "%s\n", ht[i].id); wrbuf_puts(wrbuf, ""); wrbuf_xmlputs(wrbuf, ht[i].id); wrbuf_puts(wrbuf, "\n"); @@ -277,7 +276,6 @@ static void targets_termlist(WRBUF wrbuf, struct session *se, int num) wrbuf_printf(wrbuf, "%d\n", ht[i].hits); - //wrbuf_printf(wrbuf, "%s\n", ht[i].state); wrbuf_puts(wrbuf, ""); wrbuf_xmlputs(wrbuf, ht[i].state); wrbuf_puts(wrbuf, "\n"); @@ -385,7 +383,6 @@ static void cmd_bytarget(struct http_channel *c) { wrbuf_puts(c->wrbuf, "\n"); - //wrbuf_printf(c->wrbuf, "%s\n", ht[i].id); wrbuf_puts(c->wrbuf, ""); wrbuf_xmlputs(c->wrbuf, ht[i].id); wrbuf_puts(c->wrbuf, "\n"); @@ -394,7 +391,6 @@ static void cmd_bytarget(struct http_channel *c) wrbuf_printf(c->wrbuf, "%d\n", ht[i].diagnostic); wrbuf_printf(c->wrbuf, "%d\n", ht[i].records); - //wrbuf_printf(c->wrbuf, "%s\n", ht[i].state); wrbuf_puts(c->wrbuf, ""); wrbuf_xmlputs(c->wrbuf, ht[i].state); wrbuf_puts(c->wrbuf, "\n"); @@ -702,15 +698,12 @@ static void cmd_info(struct http_channel *c) wrbuf_rewind(c->wrbuf); wrbuf_puts(c->wrbuf, "\n"); wrbuf_puts(c->wrbuf, " \n"); - //wrbuf_printf(c->wrbuf, " %s\n", VERSION); wrbuf_puts(c->wrbuf, ""); wrbuf_xmlputs(c->wrbuf, VERSION); wrbuf_puts(c->wrbuf, ""); yaz_version(yaz_version_str, 0); - //wrbuf_printf(c->wrbuf, " %s\n", - // YAZ_VERSION, yaz_version_str); wrbuf_puts(c->wrbuf, " wrbuf, YAZ_VERSION); wrbuf_puts(c->wrbuf, "\">");