mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Remove sneaky double declaration.
svn:r4941
This commit is contained in:
@@ -1262,7 +1262,6 @@ router_set_networkstatus(const char *s, time_t arrived_at, int is_cached)
|
||||
|
||||
if (!is_cached) {
|
||||
const char *datadir = get_options()->DataDirectory;
|
||||
char fp[HEX_DIGEST_LEN+1];
|
||||
size_t len = strlen(datadir)+64;
|
||||
char *fn = tor_malloc(len+1);
|
||||
tor_snprintf(fn, len, "%s/cached-status/%s",datadir,fp);
|
||||
|
||||
Reference in New Issue
Block a user