diff options
Diffstat (limited to 'src/or/test.c')
-rw-r--r-- | src/or/test.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/or/test.c b/src/or/test.c index be088e5f84..6ad2249dc9 100644 --- a/src/or/test.c +++ b/src/or/test.c @@ -625,7 +625,6 @@ test_util(void) { test_eq(2, smartlist_len(sl)); test_streq("efgh", smartlist_get(sl, 1)); - /* Test tor_strstrip() */ strcpy(buf, "Testing 1 2 3"); test_eq(0, tor_strstrip(buf, ",!")); @@ -779,7 +778,7 @@ test_gzip(void) tor_free(buf1); } -static void * +static void * _squareAndRemoveK4(const char *key, void*val, void *data) { int *ip = (int*)data; @@ -867,7 +866,7 @@ test_strmap(void) strmap_free(map,NULL); } -static void +static void test_onion(void) { #if 0 @@ -929,7 +928,6 @@ test_onion_handshake(void) crypto_free_pk_env(pk); } - static void test_dir_format(void) { |