From 6066d68ac3a340e2a19a28de1ac17fbe15f535ab Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 24 May 2006 11:13:03 +0000 Subject: [PATCH] make options->RedirectExit work again; resolve bug 293. svn:r6492 --- src/or/config.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/or/config.c b/src/or/config.c index 77ebe0ad82..73d2d85aac 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -726,10 +726,11 @@ options_act(or_options_t *old_options) smartlist_t *sl = smartlist_create(); char *errmsg = NULL; for (cl = options->RedirectExit; cl; cl = cl->next) { - if (parse_redirect_line(sl, cl, &errmsg)<0) + if (parse_redirect_line(sl, cl, &errmsg)<0) { log_warn(LD_CONFIG, "%s", errmsg); tor_free(errmsg); return -1; + } } set_exit_redirects(sl); }