From: Adam Dickmeiss Date: Mon, 28 Jan 2002 09:26:42 +0000 (+0000) Subject: SR protocol no longer supported. X-Git-Tag: YAZ.1.8.5~11 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=e0189c067378b23b5bd64b60c9b2f326f860a66f;p=yaz-moved-to-github.git SR protocol no longer supported. --- diff --git a/server/statserv.c b/server/statserv.c index 59f058b..b79948c 100644 --- a/server/statserv.c +++ b/server/statserv.c @@ -1,12 +1,12 @@ /* - * Copyright (c) 1995-2001, Index Data + * Copyright (c) 1995-2002, Index Data * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * * NT threaded server code by * Chas Woodfield, Fretwell Downing Informatics. * - * $Id: statserv.c,v 1.79 2001-11-13 23:00:43 adam Exp $ + * $Id: statserv.c,v 1.80 2002-01-28 09:26:42 adam Exp $ */ #include @@ -761,7 +761,8 @@ int check_options(int argc, char **argv) control_block.default_proto = PROTO_Z3950; break; case 's': - control_block.default_proto = PROTO_SR; + fprintf (stderr, "%s: SR protocol no longer supported\n", me); + exit (1); break; case 'S': control_block.dynamic = 0; @@ -828,7 +829,7 @@ int check_options(int argc, char **argv) fprintf(stderr, "Usage: %s [ -a -v " " -l -u -c -t " " -k -d " - " -zsiST -w ... ]\n", me); + " -ziST -w ... ]\n", me); return 1; } }