From e0189c067378b23b5bd64b60c9b2f326f860a66f Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 28 Jan 2002 09:26:42 +0000 Subject: [PATCH] SR protocol no longer supported. --- server/statserv.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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; } } -- 1.7.10.4