mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-22 22:25:51 +01:00
Remove sneaky double declaration.
svn:r4941
This commit is contained in:
parent
0f94aa2ea1
commit
df79dc673b
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue