[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Break some wide lines



commit edaf68173549fe520e273d8e921bd9a00101d174
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Thu Jul 16 11:11:21 2015 -0400

    Break some wide lines
---
 src/or/ntmain.c        |    2 +-
 src/or/rendcache.h     |    6 +++---
 src/or/rendservice.c   |    5 +++--
 src/test/test_crypto.c |    3 ++-
 4 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/src/or/ntmain.c b/src/or/ntmain.c
index 89e26c4..22d381c 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 f33ea66..f61f02a 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 74e8a8d..db6bc4b 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 &&
diff --git a/src/test/test_crypto.c b/src/test/test_crypto.c
index 2bc4770..dbaec61 100644
--- a/src/test/test_crypto.c
+++ b/src/test/test_crypto.c
@@ -1838,7 +1838,8 @@ struct testcase_t crypto_tests[] = {
   { "ed25519_convert", test_crypto_ed25519_convert, 0, NULL, NULL },
   { "ed25519_blinding", test_crypto_ed25519_blinding, 0, NULL, NULL },
   { "ed25519_testvectors", test_crypto_ed25519_testvectors, 0, NULL, NULL },
-  { "ed25519_fuzz_donna", test_crypto_ed25519_fuzz_donna, TT_FORK, NULL, NULL },
+  { "ed25519_fuzz_donna", test_crypto_ed25519_fuzz_donna, TT_FORK, NULL,
+    NULL },
   { "siphash", test_crypto_siphash, 0, NULL, NULL },
   END_OF_TESTCASES
 };

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits