diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-12-01 11:42:34 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-12-01 11:42:34 -0500 |
commit | 9908404f0189aad3917960ba63661079e546f150 (patch) | |
tree | 58e8d682c2945a55071580b053f24d3999bd641c /src/or/dirserv.c | |
parent | fa1a4196225bcdc787342ee6f60c4f6ccdfe1879 (diff) | |
parent | a961521a86c439ab2ba1073daa6392a069903db1 (diff) | |
download | tor-9908404f0189aad3917960ba63661079e546f150.tar.gz tor-9908404f0189aad3917960ba63661079e546f150.zip |
Merge remote branch 'sjmurdoch/cloexec'
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 a394bf62e2..edba9fbd8a 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -2446,7 +2446,7 @@ dirserv_read_measured_bandwidths(const char *from_file, smartlist_t *routerstatuses) { char line[256]; - FILE *fp = fopen(from_file, "r"); + FILE *fp = tor_fopen_cloexec(from_file, "r"); int applied_lines = 0; time_t file_time; int ok; |