[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Broken Exit Policy parsing in CVS



Hi,

I just tried running a current CVS node with custom exit policy. It
breaks since nickm changed the exit policy option to be
CONFIG_TYPE_LINELIST two days ago, but nobody updated the option parser
accordingly:

This fixes:

[zsh]themel@eristoteles:~/tor/tor-cvs$ cvs diff src/or/config.c
Index: src/or/config.c
===================================================================
RCS file: /home/or/cvsroot/src/or/config.c,v
retrieving revision 1.119
diff -r1.119 config.c
203c203
<     config_compare(list, "ExitPolicy",     CONFIG_TYPE_STRING, &options->ExitPolicy) ||
---
>     config_compare(list, "ExitPolicy",     CONFIG_TYPE_LINELIST, &options->ExitPolicy) ||

ciao,
-- 
[*Thomas  Themel*] To be precise about an issue, one should not use a metaphor.
[extended contact] It is like jumping out of an aeroplane with no parachute,
[info provided in] but then different.
[*message header*]    - Anonymous comment on Groklaw