[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] backport to fix bug 293.
Update of /home/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/tor-011x/tor/src/or
Modified Files:
Tag: tor-0_1_1-patches
config.c
Log Message:
backport to fix bug 293.
Index: config.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/config.c,v
retrieving revision 1.554.2.4
retrieving revision 1.554.2.5
diff -u -p -d -r1.554.2.4 -r1.554.2.5
--- config.c 23 May 2006 07:05:58 -0000 1.554.2.4
+++ config.c 24 May 2006 11:14:00 -0000 1.554.2.5
@@ -727,10 +727,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);
}