From 2b9d48791d0b5245e3ccfd267150dfa34541c87c Mon Sep 17 00:00:00 2001 From: Sebastian Hahn Date: Wed, 7 Jan 2015 12:43:21 +0100 Subject: Enlarge the buffer for a line in a bw file --- src/or/dirserv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3-54-g00ecf