summaryrefslogtreecommitdiff
path: root/src/or/test.c
diff options
context:
space:
mode:
authorJacob Appelbaum <jacob@appelbaum.net>2008-12-07 01:21:19 +0000
committerJacob Appelbaum <jacob@appelbaum.net>2008-12-07 01:21:19 +0000
commit6b178b46ef52fc146fee566e9bdd12929d3ad0a3 (patch)
treee1c1a8e6b340573a2395d29c2b37336855cefd46 /src/or/test.c
parent92562d6e7a57df315698fbdfb9476bcac24bc10e (diff)
downloadtor-6b178b46ef52fc146fee566e9bdd12929d3ad0a3.tar.gz
tor-6b178b46ef52fc146fee566e9bdd12929d3ad0a3.zip
New DirPortFrontPage option that takes an html file and publishes it as "/" on the DirPort. Now relay operators can provide a disclaimer without needin to set up a separate webserver. There's a sample disclaimer in contrib/tor-exit-notice.html.
svn:r17500
Diffstat (limited to 'src/or/test.c')
-rw-r--r--src/or/test.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/test.c b/src/or/test.c
index c0fa05e2c8..4cddff44a5 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -1916,7 +1916,6 @@ test_util_smartlist_strings(void)
test_eq((int)sz, 40);
tor_free(cp);
-
done:
SMARTLIST_FOREACH(sl, char *, cp, tor_free(cp));