From 68c3f1308db0fd8a62855d812fbd34c0a80fb35d Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" <esr@thyrsus.com> Date: Sat, 5 Oct 1996 17:41:37 +0000 Subject: Multiple queries to same server with different users work now. svn path=/trunk/; revision=228 --- options.c | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'options.c') diff --git a/options.c b/options.c index 6649142c..0704a359 100644 --- a/options.c +++ b/options.c @@ -239,28 +239,3 @@ struct hostrec *queryctl; return(optind); } -/****************************************************************** - function: getnextserver - description: read next server name from the command line. - arguments: - argc from main() - argv from main() - optind as returned by parsecmdline and this function. - - ret. value: next server name from command line or NULL if all - server names have been retrieved. - globals: none. - calls: none. - *****************************************************************/ -char *getnextserver (argc,argv,optind) -int argc; -char **argv; -int *optind; -{ - if (*optind >= argc) { - /* no more servers */ - return((char *) 0); - } - else - return(argv[(*optind)++]); -} -- cgit v1.2.3