From 10ca5845f61713f01f0f179f38643e0863e17fe5 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 8 Jun 2007 13:58:46 +0000 Subject: [PATCH] Removed unused code --- src/config.h | 4 +--- src/pazpar2.c | 9 ++------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/src/config.h b/src/config.h index 90a08c3..65a19c3 100644 --- a/src/config.h +++ b/src/config.h @@ -1,4 +1,4 @@ -/* $Id: config.h,v 1.24 2007-06-06 11:49:48 marc Exp $ +/* $Id: config.h,v 1.25 2007-06-08 13:58:46 adam Exp $ Copyright (c) 2006-2007, Index Data. This file is part of Pazpar2. @@ -148,8 +148,6 @@ struct conf_server char *proxy_host; int proxy_port; char *myurl; - //char *zproxy_host; - //int zproxy_port; char *settings; #ifdef HAVE_ICU diff --git a/src/pazpar2.c b/src/pazpar2.c index 6efd068..2e031b1 100644 --- a/src/pazpar2.c +++ b/src/pazpar2.c @@ -1,4 +1,4 @@ -/* $Id: pazpar2.c,v 1.87 2007-06-08 13:57:19 adam Exp $ +/* $Id: pazpar2.c,v 1.88 2007-06-08 13:58:46 adam Exp $ Copyright (c) 2006-2007, Index Data. This file is part of Pazpar2. @@ -36,7 +36,6 @@ void child_handler(void *data) yaz_log(YLOG_LOG, "child_handler"); start_proxy(); - //start_zproxy(); init_settings(); if (*global_parameters.settings_path_override) @@ -63,8 +62,7 @@ int main(int argc, char **argv) yaz_log_init_prefix("pazpar2"); - //while ((ret = options("f:h:p:z:t:l:dX", argv, argc, &arg)) != -2) - while ((ret = options("f:h:p:t:l:dX", argv, argc, &arg)) != -2) + while ((ret = options("f:h:p:t:l:dX", argv, argc, &arg)) != -2) { switch (ret) { @@ -78,9 +76,6 @@ int main(int argc, char **argv) case 'p': strcpy(global_parameters.proxy_override, arg); break; -/* case 'z': */ -/* strcpy(global_parameters.zproxy_override, arg); */ -/* break; */ case 't': strcpy(global_parameters.settings_path_override, arg); break; -- 1.7.10.4