aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-01-29 11:16:23 +0000
committerRoger Dingledine <arma@torproject.org>2005-01-29 11:16:23 +0000
commit7fd8dfe6eabda78c0e77e7232a2f5678e9ff5aa4 (patch)
tree839933021043bc9c8928366d0a9ff0d52335a715 /src/or/directory.c
parent82d3894f3eae44724031d7a53ffe1de31c071a3c (diff)
downloadtor-7fd8dfe6eabda78c0e77e7232a2f5678e9ff5aa4.tar.gz
tor-7fd8dfe6eabda78c0e77e7232a2f5678e9ff5aa4.zip
accept LDAP (389/tcp) and LDAPS (636/tcp) in default exit policy
svn:r3457
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 446c9eda73..4e6a2c75bf 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -482,7 +482,7 @@ parse_http_url(char *headers, char **url)
/** Parse an HTTP response string <b>headers</b> of the form
* "HTTP/1.\%d \%d\%s\r\n...".
- * If it's well-formed, assign *<b>code</b>, point and return 0.
+ * If it's well-formed, assign *<b>code</b> and return 0.
* If <b>date</b> is provided, set *date to the Date header in the
* http headers, or 0 if no such header is found. If <b>compression</b>
* is provided, set *<b>compression</b> to the compression method given
@@ -692,6 +692,7 @@ connection_dir_client_reached_eof(connection_t *conn)
tor_free(body); tor_free(headers);
return -1;
}
+ /* xxx maybe we can tell router_... here that it was skewed so don't believe it all. */
if (router_load_routerlist_from_directory(body, NULL, 1, 0) < 0) {
log_fn(LOG_WARN,"I failed to parse the directory I fetched from %s:%d. Ignoring.", conn->address, conn->port);
} else {