diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-09-30 01:36:36 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-09-30 01:36:36 -0400 |
commit | 3ad43ef75f09a21c0c1fc6eb173f8d131c7d638c (patch) | |
tree | 4526d571bcbe82018b9d64214cc946dbe95ac71e /src/or | |
parent | ea6ac0f0d1faa946df7336d65eddb54172b7ecd4 (diff) | |
download | tor-3ad43ef75f09a21c0c1fc6eb173f8d131c7d638c.tar.gz tor-3ad43ef75f09a21c0c1fc6eb173f8d131c7d638c.zip |
Whitespace fixes on recent merges to master.
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/connection.c | 1 | ||||
-rw-r--r-- | src/or/directory.c | 3 | ||||
-rw-r--r-- | src/or/microdesc.c | 4 | ||||
-rw-r--r-- | src/or/routerlist.c | 1 |
4 files changed, 4 insertions, 5 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index 9c6166df3b..d1b079a97e 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -3423,7 +3423,6 @@ connection_dir_get_by_purpose_and_resource(int purpose, return NULL; } - /** Return an open, non-marked connection of a given type and purpose, or NULL * if no such connection exists. */ connection_t * diff --git a/src/or/directory.c b/src/or/directory.c index 242f7da216..657b210b5f 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -1919,7 +1919,8 @@ connection_dir_client_reached_eof(dir_connection_t *conn) smartlist_t *which = NULL; log_info(LD_DIR,"Received answer to microdescriptor request (status %d, " "size %d) from server '%s:%d'", - status_code, (int)body_len, conn->_base.address, conn->_base.port); + status_code, (int)body_len, conn->_base.address, + conn->_base.port); tor_assert(conn->requested_resource && !strcmpstart(conn->requested_resource, "d/")); which = smartlist_create(); diff --git a/src/or/microdesc.c b/src/or/microdesc.c index 000411370c..2752d15c8c 100644 --- a/src/or/microdesc.c +++ b/src/or/microdesc.c @@ -129,8 +129,8 @@ get_microdesc_cache(void) * set the last_listed field of every microdesc to listed_at. If * requested_digests is non-null, then it contains a list of digests we mean * to allow, so we should reject any non-requested microdesc with a different - * digest, and alter the list to contain only the digests of those microdescs we - * didn't find. + * digest, and alter the list to contain only the digests of those microdescs + * we didn't find. * Return a list of the added microdescriptors. */ smartlist_t * microdescs_add_to_cache(microdesc_cache_t *cache, diff --git a/src/or/routerlist.c b/src/or/routerlist.c index a6cccabf32..0b271f1aa3 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -4278,7 +4278,6 @@ launch_descriptor_downloads(int purpose, pds_flags |= (purpose == DIR_PURPOSE_FETCH_MICRODESC) ? PDS_NO_EXISTING_MICRODESC_FETCH : PDS_NO_EXISTING_SERVERDESC_FETCH; - } n_per_request = CEIL_DIV(n_downloadable, MIN_REQUESTS); |