[or-cvs] integrated use of getoption() into OR. removed getargs() an...

Roger Dingledine arma at mit.edu
Sat Jul 13 19:48:31 UTC 2002


On Fri, Jul 12, 2002 at 01:12:11PM -0400, montrose at seul.org wrote:
> Update of /home/or/cvsroot/src/or
> In directory moria.seul.org:/tmp/cvs-serv16741/src/or
> 
> Modified Files:
> 	main.c 
> Log Message:
> integrated use of getoption() into OR. removed getargs() and getconfig().

Bruce:

[arma at moria config]$ ../or/or --f moria3-orrc
Usage: or [-v?] [-a <port>] [-w <weight>] [-f <file>] [-l <level>] [-m <max>]
        [-o <port>] [-p <port>] [-k <max>] [-r <port>] [-t <policy>] [-g <role>]
        [--usage]
moria3-orrc: number too large or too small

When I change CoinWeight from 0.0 to 0.01, it works.

a) can you make CoinWeight accept 0?
b) can you make that error message indicate *which* number was too large or
   too small?

--Roger



More information about the tor-commits mailing list