aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-11-09 19:13:08 +0000
committerNick Mathewson <nickm@torproject.org>2004-11-09 19:13:08 +0000
commit7daab4034dff228245cd8cdc16191457087fcd01 (patch)
tree40db4f6d36b0d8d89857d3066793ff63067270e4 /src/or/routerlist.c
parentcd753df7bf741f5063d672afaf23390ebbd55c48 (diff)
downloadtor-7daab4034dff228245cd8cdc16191457087fcd01.tar
tor-7daab4034dff228245cd8cdc16191457087fcd01.tar.gz
Fix windows build for VC6; centralize newline-fiasco-damage-control logic
svn:r2756
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 7506da267..5ae522ac3 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -60,7 +60,6 @@ int router_reload_router_list(void)
}
s = read_file_to_str(filename,0);
if (s) {
- tor_strstrip(s,"\r"); /* XXXX This is a bug workaround for win32. */
log_fn(LOG_INFO, "Loading cached directory from %s", filename);
is_recent = st.st_mtime > time(NULL) - 60*15;
if (router_load_routerlist_from_directory(s, NULL, is_recent) < 0) {