different exit codes for options_init_from_string()
commitbc4095c70cabb6457e89308b51d5d2b7d04ae3c4
authorPeter Palfrader <peter@palfrader.org>
Mon, 10 Mar 2008 12:41:49 +0000 (10 12:41 +0000)
committerPeter Palfrader <peter@palfrader.org>
Mon, 10 Mar 2008 12:41:49 +0000 (10 12:41 +0000)
treec4479dff24b90670e40e506fac7aa80a497ed263
parent8c71d7ea163dc1af21a1aefe8428713fc9805eb5
different exit codes for options_init_from_string()

Change options_init_from_string() so that it returns different exit codes in the
error case, depending on what went wrong.  Also push the responsibility to log
the error to the caller.

svn:r13947
src/or/config.c
src/or/or.h