aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/test.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/test.c b/src/or/test.c
index d7b02f0c1..13baa47b0 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -1550,9 +1550,7 @@ test_dir_format(void)
strcat(buf2, pk1_str);
strcat(buf2, "signing-key\n");
strcat(buf2, pk2_str);
-#ifdef USE_EVENTDNS
- strcat(buf2, "opt eventdns 1\n");
-#else
+#ifndef USE_EVENTDNS
strcat(buf2, "opt eventdns 0\n");
#endif
strcat(buf2, bw_lines);