diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-07-16 11:11:21 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-07-16 11:11:21 -0400 |
commit | edaf68173549fe520e273d8e921bd9a00101d174 (patch) | |
tree | da0a2771fc1d676e3e245e3d8be0d2d2d94b3f61 /src/or | |
parent | b5cfcb2045262a3ce9485c4d5a0c91b89174e539 (diff) | |
download | tor-edaf68173549fe520e273d8e921bd9a00101d174.tar.gz tor-edaf68173549fe520e273d8e921bd9a00101d174.zip |
Break some wide lines
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/ntmain.c | 2 | ||||
-rw-r--r-- | src/or/rendcache.h | 6 | ||||
-rw-r--r-- | src/or/rendservice.c | 5 |
3 files changed, 7 insertions, 6 deletions
diff --git a/src/or/ntmain.c b/src/or/ntmain.c index 89e26c426c..22d381c438 100644 --- a/src/or/ntmain.c +++ b/src/or/ntmain.c @@ -317,7 +317,7 @@ nt_service_main(void) case CMD_DUMP_CONFIG: case CMD_KEYGEN: log_err(LD_CONFIG, "Unsupported command (--list-fingerprint, " - "--hash-password, --keygen, --dump-config, or --verify-config) " + "--hash-password, --keygen, --dump-config, or --verify-config) " "in NT service."); break; case CMD_RUN_UNITTESTS: diff --git a/src/or/rendcache.h b/src/or/rendcache.h index f33ea662f5..f61f02a8e6 100644 --- a/src/or/rendcache.h +++ b/src/or/rendcache.h @@ -48,9 +48,9 @@ typedef enum { rend_cache_store_status_t rend_cache_store_v2_desc_as_dir(const char *desc); rend_cache_store_status_t rend_cache_store_v2_desc_as_client(const char *desc, - const char *desc_id_base32, - const rend_data_t *rend_query, - rend_cache_entry_t **entry); + const char *desc_id_base32, + const rend_data_t *rend_query, + rend_cache_entry_t **entry); size_t rend_cache_get_total_allocation(void); #endif /* TOR_RENDCACHE_H */ diff --git a/src/or/rendservice.c b/src/or/rendservice.c index 74e8a8d5ec..db6bc4b72e 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -3147,7 +3147,7 @@ directory_post_to_hs_dir(rend_service_descriptor_t *renddesc, rend_data = rend_data_client_create(service_id, desc->desc_id, NULL, REND_NO_AUTH); directory_initiate_command_routerstatus_rend(hs_dir, - DIR_PURPOSE_UPLOAD_RENDDESC_V2, + DIR_PURPOSE_UPLOAD_RENDDESC_V2, ROUTER_PURPOSE_GENERAL, DIRIND_ANONYMOUS, NULL, desc->desc_str, @@ -3660,7 +3660,8 @@ rend_consider_services_upload(time_t now) } /* Does every introduction points have been established? */ unsigned int intro_points_ready = - count_established_intro_points(service) >= service->n_intro_points_wanted; + count_established_intro_points(service) >= + service->n_intro_points_wanted; if (intro_points_ready && (service->next_upload_time < now || (service->desc_is_dirty && |