diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2015-01-07 12:43:21 +0100 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2015-01-07 12:44:16 +0100 |
commit | 2b9d48791d0b5245e3ccfd267150dfa34541c87c (patch) | |
tree | d068fd01b9042f1860309089304fb8664986ef12 /src/or/dirserv.c | |
parent | 184a2dbbdd27f958f5ac290fe030d1fac2959157 (diff) | |
download | tor-2b9d48791d0b5245e3ccfd267150dfa34541c87c.tar.gz tor-2b9d48791d0b5245e3ccfd267150dfa34541c87c.zip |
Enlarge the buffer for a line in a bw file
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 49fafafab2..03b32cb2f3 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -2487,7 +2487,7 @@ int dirserv_read_measured_bandwidths(const char *from_file, smartlist_t *routerstatuses) { - char line[256]; + char line[512]; FILE *fp = tor_fopen_cloexec(from_file, "r"); int applied_lines = 0; time_t file_time, now; |