X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fyaz-proxy-main.cpp;h=f40c64ad7b86f6cd3217f97bdf37c8dc1f32c671;hb=e1e297959681cde585d782c49db6daf66675abb0;hp=c7b11eff3e9aecebfe1beabb004a916d1ff76c84;hpb=ea4d2069a98496fb8bb2f904e5a694f2a345c887;p=yazproxy-moved-to-github.git diff --git a/src/yaz-proxy-main.cpp b/src/yaz-proxy-main.cpp index c7b11ef..f40c64a 100644 --- a/src/yaz-proxy-main.cpp +++ b/src/yaz-proxy-main.cpp @@ -1,4 +1,4 @@ -/* $Id: yaz-proxy-main.cpp,v 1.10 2005-01-17 18:44:39 adam Exp $ +/* $Id: yaz-proxy-main.cpp,v 1.12 2005-02-21 14:27:32 adam Exp $ Copyright (c) 1998-2005, Index Data. This file is part of the yaz-proxy. @@ -76,7 +76,7 @@ int args(Yaz_Proxy *proxy, int argc, char **argv) char *prog = argv[0]; int ret; - while ((ret = options("o:a:t:v:c:u:i:m:l:T:p:U:n:X", + while ((ret = options("o:a:t:v:c:u:i:m:l:T:p:n:X", argv, argc, &arg)) != -2) { int err; @@ -94,7 +94,7 @@ int args(Yaz_Proxy *proxy, int argc, char **argv) err = proxy->set_config(arg); if (err == -2) { - fprintf(stderr, "Config file support not enabled (proxy not compiled with libxml2 support)\n"); + fprintf(stderr, "Config file support not enabled (not using libxslt & libxml2)\n"); exit(1); } else if (err == -1) @@ -109,9 +109,6 @@ int args(Yaz_Proxy *proxy, int argc, char **argv) case 't': proxy->set_default_target(arg); break; - case 'U': - proxy->set_proxy_authentication(arg); - break; case 'o': proxy->option("optimize", arg); break; @@ -135,6 +132,7 @@ int args(Yaz_Proxy *proxy, int argc, char **argv) no_limit_files = atoi(arg); break; case 'X': + proxy->set_debug_mode(1); debug = 1; break; case 'p':