diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-09-21 10:26:57 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-09-21 12:57:22 -0400 |
commit | 194acfb51d9b26ae63f9d48d3442c4ff64cbc8cc (patch) | |
tree | b4438cb70d5029db0a7b00fb8865a068737a1cb8 /src/test/fuzz/fuzz_http.c | |
parent | 0e4c42a912d020888e811b748925362e1b3dc67b (diff) | |
download | tor-194acfb51d9b26ae63f9d48d3442c4ff64cbc8cc.tar.gz tor-194acfb51d9b26ae63f9d48d3442c4ff64cbc8cc.zip |
Split directory.c code into several modules
Parts of this C file naturally belong in dircache, dirclient, and
dircommon: so, move them there.
Diffstat (limited to 'src/test/fuzz/fuzz_http.c')
-rw-r--r-- | src/test/fuzz/fuzz_http.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/fuzz/fuzz_http.c b/src/test/fuzz/fuzz_http.c index 2fbb275614..06483282bc 100644 --- a/src/test/fuzz/fuzz_http.c +++ b/src/test/fuzz/fuzz_http.c @@ -4,14 +4,14 @@ #include "orconfig.h" #define BUFFERS_PRIVATE -#define DIRECTORY_PRIVATE +#define DIRCACHE_PRIVATE #include "core/or/or.h" #include "lib/err/backtrace.h" #include "lib/container/buffers.h" #include "app/config/config.h" #include "core/mainloop/connection.h" -#include "feature/dircache/directory.h" +#include "feature/dircache/dircache.h" #include "lib/log/log.h" #include "feature/dircommon/dir_connection_st.h" @@ -132,4 +132,3 @@ fuzz_main(const uint8_t *stdin_buf, size_t data_size) return 0; } - |