X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fconfig.c;h=779ea57b04bb903cf931c62637735e063e97654d;hb=7a99aea06e5d23ce1320c4e3a368543c6a7ab1e4;hp=8214030528e9eb39091614e629c8f6c1a26a1d29;hpb=dc9f59ce5f4bedc6cd1cc68e0309b74d241f434d;p=pazpar2-moved-to-github.git diff --git a/src/config.c b/src/config.c index 8214030..779ea57 100644 --- a/src/config.c +++ b/src/config.c @@ -1,4 +1,4 @@ -/* $Id: config.c,v 1.35 2007-06-06 11:49:48 marc Exp $ +/* $Id: config.c,v 1.36 2007-06-06 11:56:35 marc Exp $ Copyright (c) 2006-2007, Index Data. This file is part of Pazpar2. @@ -19,7 +19,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: config.c,v 1.35 2007-06-06 11:49:48 marc Exp $ */ +/* $Id: config.c,v 1.36 2007-06-06 11:56:35 marc Exp $ */ #include @@ -453,22 +453,6 @@ static struct conf_server *parse_server(xmlNode *node) xmlFree(host); xmlFree(myurl); } -/* else if (!strcmp((const char *) n->name, "zproxy")) */ -/* { */ -/* xmlChar *port = 0; */ -/* xmlChar *host = 0; */ - -/* port = xmlGetProp(n, (xmlChar *) "port"); */ -/* host = xmlGetProp(n, (xmlChar *) "host"); */ - -/* if (port) */ -/* server->zproxy_port = atoi((const char *) port); */ -/* if (host) */ -/* server->zproxy_host = nmem_strdup(nmem, (const char *) host); */ - -/* xmlFree(port); */ -/* xmlFree(host); */ -/* } */ else if (!strcmp((const char *) n->name, "settings")) { if (server->settings)