[tor-commits] [tor/master] Fix typo in test_build_update_descriptors() comment
commit caebfa5f6feb7451959b613d656c177ed1288a7d Author: Neel Chauhan Date: Wed Jun 17 20:12:13 2020 -0700 Fix typo in test_build_update_descriptors() comment --- src/test/test_hs_service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/test_hs_service.c b/src/test/test_hs_service.c index 80383baff..68ec5af39 100644 --- a/src/test/test_hs_service.c +++ b/src/test/test_hs_service.c @@ -1619,7 +1619,7 @@ test_build_update_descriptors(void *arg) /* We won't test the service IP object because there is a specific test * already for this but we'll make sure that the state is coherent.*/ - /* Three link specifiers are mandatoy so make sure we do have them. */ + /* Three link specifiers are mandatory so make sure we do have them. */ tt_int_op(smartlist_len(ip_cur->base.link_specifiers), OP_EQ, 3); /* Make sure we have a valid encryption keypair generated when we pick an * intro point in the update process. */ ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] Fix typo in router_build_fresh_unsigned_routerinfo() comment
commit a638514783ba5cdd7651e55da7539b69c3b66281 Author: Neel Chauhan Date: Sun Apr 12 12:43:21 2020 -0700 Fix typo in router_build_fresh_unsigned_routerinfo() comment --- src/feature/relay/router.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/feature/relay/router.c b/src/feature/relay/router.c index 9b62bb385..a4a9c6a81 100644 --- a/src/feature/relay/router.c +++ b/src/feature/relay/router.c @@ -2036,7 +2036,7 @@ router_build_fresh_unsigned_routerinfo,(routerinfo_t **ri_out)) /* For now, at most one IPv6 or-address is being advertised. */ tor_addr_port_t ipv6_orport; router_get_advertised_ipv6_or_ap(options, _orport); - /* If there is no valud IPv6 ORPort, the address and port are null. */ + /* If there is no valid IPv6 ORPort, the address and port are null. */ tor_addr_copy(>ipv6_addr, _orport.addr); ri->ipv6_orport = ipv6_orport.port; ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo in struct addr_policy_t comment
commit 3a0f20050557f54427d5f597cec90aabffb1f479 Author: Roger Dingledine Date: Fri Mar 27 03:48:15 2020 -0400 fix typo in struct addr_policy_t comment --- src/core/or/addr_policy_st.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/or/addr_policy_st.h b/src/core/or/addr_policy_st.h index 5a2b7f6fb..08d16ee61 100644 --- a/src/core/or/addr_policy_st.h +++ b/src/core/or/addr_policy_st.h @@ -38,7 +38,7 @@ struct addr_policy_t { /** Base address to accept or reject. * * Note that wildcards are treated - * differntly depending on address family. An AF_UNSPEC address means + * differently depending on address family. An AF_UNSPEC address means * "All addresses, IPv4 or IPv6." An AF_INET address with maskbits==0 means * "All IPv4 addresses" and an AF_INET6 address with maskbits == 0 means * "All IPv6 addresses". ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo in log message
commit a4304c603188da49dcf2ded7cb53230ba2cae74c Author: Roger Dingledine Date: Fri Mar 27 02:51:01 2020 -0400 fix typo in log message --- src/feature/relay/ext_orport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/feature/relay/ext_orport.c b/src/feature/relay/ext_orport.c index 5568dacf1..cff5f42cc 100644 --- a/src/feature/relay/ext_orport.c +++ b/src/feature/relay/ext_orport.c @@ -602,7 +602,7 @@ connection_ext_or_process_inbuf(or_connection_t *or_conn) command->body, command->len) < 0) goto err; } else { - log_notice(LD_NET,"Got Extended ORPort command we don't regognize (%u).", + log_notice(LD_NET,"Got Extended ORPort command we don't recognize (%u).", command->cmd); } ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo in comment
commit 987247bd76f1ca1ccffdee6348d240c876f78dfb Author: Roger Dingledine Date: Thu Mar 19 00:41:57 2020 -0400 fix typo in comment --- src/feature/hs/hs_cell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/feature/hs/hs_cell.c b/src/feature/hs/hs_cell.c index dd5fefd7e..fc9f4a265 100644 --- a/src/feature/hs/hs_cell.c +++ b/src/feature/hs/hs_cell.c @@ -758,7 +758,7 @@ hs_cell_parse_intro_established(const uint8_t *payload, size_t payload_len) * INTRO2 MAC to ensure that the keys are the right ones. * * Return NULL on failure to either produce the key material or on MAC - * valication. Else a newly allocated intro keys object. */ + * validation. Else return a newly allocated intro keys object. */ static hs_ntor_intro_cell_keys_t * get_introduce2_keys_and_verify_mac(hs_cell_introduce2_data_t *data, const uint8_t *encrypted_section, ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo from 7920fc35
commit 98bf7604a3b07facdc5f0d41b0279851440d1380 Author: Roger Dingledine Date: Wed Feb 19 14:53:36 2020 -0500 fix typo from 7920fc35 --- doc/tor.1.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tor.1.txt b/doc/tor.1.txt index a983b555c..3d00e62a4 100644 --- a/doc/tor.1.txt +++ b/doc/tor.1.txt @@ -2764,7 +2764,7 @@ your log at NOTICE level which looks like: The following options are useful only for a public relay. They control the Denial of Service mitigation subsystem described above. -//Out of order because it logically belongs before the other DocCircuitCreation options. +//Out of order because it logically belongs before the other DoSCircuitCreation options. [[DoSCircuitCreationEnabled]] **DoSCircuitCreationEnabled** **0**|**1**|**auto**:: Enable circuit creation DoS mitigation. If set to 1 (enabled), tor will ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo in how-to-review guidelines
commit aa56465934da31eeab79376a2ab690c5f28b4aa0 Author: Roger Dingledine Date: Mon Oct 7 00:48:11 2019 -0400 fix typo in how-to-review guidelines --- doc/HACKING/HowToReview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/HACKING/HowToReview.md b/doc/HACKING/HowToReview.md index 2d1f3d1c9..2325e7017 100644 --- a/doc/HACKING/HowToReview.md +++ b/doc/HACKING/HowToReview.md @@ -63,7 +63,7 @@ Let's look at the code! Let's look at the documentation! -- Does the documentation confirm to CodingStandards.txt? +- Does the documentation conform to CodingStandards.txt? - Does it make sense? ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo in comment
commit e1429d91480ee16ebe32be35263a4695e1795ff9 Author: Roger Dingledine Date: Mon Sep 23 18:32:05 2019 -0400 fix typo in comment --- src/feature/rend/rendservice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/feature/rend/rendservice.c b/src/feature/rend/rendservice.c index 119a6f9c8..4d8a21e6a 100644 --- a/src/feature/rend/rendservice.c +++ b/src/feature/rend/rendservice.c @@ -2127,7 +2127,7 @@ rend_service_receive_introduction(origin_circuit_t *circuit, * * We only use a one-hop path on the first attempt. If the first attempt * fails, we use a 3-hop path for reachability / reliability. - * See the comment in rend_service_relauch_rendezvous() for details. */ + * See the comment in rend_service_relaunch_rendezvous() for details. */ if (rend_service_use_direct_connection(options, rp) && i == 0) { flags = flags | CIRCLAUNCH_ONEHOP_TUNNEL; } ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] Fix typo in a comment on config_mgr_get_obj_mutable()
commit 577e628743bd7bb8c846bc73401e65b837cc4dbf Author: Nick Mathewson Date: Tue Aug 27 13:10:18 2019 -0400 Fix typo in a comment on config_mgr_get_obj_mutable() --- src/app/config/confparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/config/confparse.c b/src/app/config/confparse.c index 71ba39ef5..e0615ac13 100644 --- a/src/app/config/confparse.c +++ b/src/app/config/confparse.c @@ -232,7 +232,7 @@ config_mgr_get_suite_ptr(const config_mgr_t *mgr, void *toplevel) * NOTE: Eventually, there will be multiple objects supported within the * toplevel object. For example, the or_options_t will contain pointers * to configuration objects for other modules. This function gets - * the sub-object for a particular modules. + * the sub-object for a particular module. */ STATIC void * config_mgr_get_obj_mutable(const config_mgr_t *mgr, void *toplevel, int idx) ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] Fix typo in comment about FallbackDir handling
commit 9cfc811c377be8e30532b6faef78e3c97f0ae7e8 Author: Nick Mathewson Date: Mon Aug 26 19:20:16 2019 -0400 Fix typo in comment about FallbackDir handling --- src/app/config/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/config/config.c b/src/app/config/config.c index bff403a99..66047aeab 100644 --- a/src/app/config/config.c +++ b/src/app/config/config.c @@ -8154,7 +8154,7 @@ getinfo_helper_config(control_connection_t *conn, } if (strcmp(var->member.name, "FallbackDir") == 0) { /* - * Similarly count fallback lines, so that we can decided later + * Similarly count fallback lines, so that we can decide later * to add the defaults manually. */ ++fallback_lines_seen; ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo in keypin journal log entry (for dir auths)
commit 9b1aa9a5726b61bdbdd1b05f27b97cedfa953395 Author: Roger Dingledine Date: Thu Aug 15 02:32:00 2019 -0400 fix typo in keypin journal log entry (for dir auths) --- src/feature/dirauth/keypin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/feature/dirauth/keypin.c b/src/feature/dirauth/keypin.c index 667feb2c0..3ca2c3ef9 100644 --- a/src/feature/dirauth/keypin.c +++ b/src/feature/dirauth/keypin.c @@ -438,7 +438,7 @@ keypin_load_journal_impl(const char *data, size_t size) tor_log(severity, LD_DIRSERV, "Loaded %d entries from keypin journal. " "Found %d corrupt lines (ignored), %d duplicates (harmless), " - "and %d conflicts (resolved in favor or more recent entry).", + "and %d conflicts (resolved in favor of more recent entry).", n_entries, n_corrupt_lines, n_duplicates, n_conflicts); return 0; ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] Fix typo in #29670 changes file.
commit 8cb6b2b9ab74d187e4839d298fbce06dafeb33f0 Author: George Kadianakis Date: Wed Jun 5 14:56:28 2019 +0300 Fix typo in #29670 changes file. --- changes/bug29670 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changes/bug29670 b/changes/bug29670 index 00b0c3332..288bbbf62 100644 --- a/changes/bug29670 +++ b/changes/bug29670 @@ -1,4 +1,4 @@ o Minor bugfixes (configuration, proxies): - Fix a bug that prevented us from supporting SOCKS5 proxies that want - authentication along with configued (but unused!) + authentication along with configured (but unused!) ClientTransportPlugins. Fixes bug 29670; bugfix on 0.2.6.1-alpha. ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] Fix typo in bootstrap message
commit 7e753117146266fa39841b4cc9fa63febfe9e92a Author: Taylor Yu Date: Fri Jan 4 17:23:52 2019 -0600 Fix typo in bootstrap message The message for the "ap_conn_proxy" bootstrap status tag was missing some text. Fixes bug 28929. Bug not in any released Tor. --- src/feature/control/control_bootstrap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/feature/control/control_bootstrap.c b/src/feature/control/control_bootstrap.c index 49e190dc5..d7a043851 100644 --- a/src/feature/control/control_bootstrap.c +++ b/src/feature/control/control_bootstrap.c @@ -73,7 +73,7 @@ static const struct { { BOOTSTRAP_STATUS_AP_CONN_DONE_PT, "ap_conn_done_pt", "Connected to pluggable transport to build circuits" }, { BOOTSTRAP_STATUS_AP_CONN_PROXY, "ap_conn_proxy", -"Connecting to proxy " }, +"Connecting to proxy to build circuits" }, { BOOTSTRAP_STATUS_AP_CONN_DONE_PROXY, "ap_conn_done_proxy", "Connected to proxy to build circuits" }, { BOOTSTRAP_STATUS_AP_CONN, "ap_conn", ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] Fix typo in time_sys.h.
commit 2322b56389626969b85da605240cbaafbb98bb33 Author: Alexander Færøy Date: Thu Dec 20 15:16:14 2018 +0100 Fix typo in time_sys.h. --- src/lib/time/time_sys.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/time/time_sys.h b/src/lib/time/time_sys.h index 0f1aebc26..5f5982a33 100644 --- a/src/lib/time/time_sys.h +++ b/src/lib/time/time_sys.h @@ -2,7 +2,7 @@ /* See LICENSE for licensing information */ /** - * \file log_time.h + * \file time_sys.h * \brief Declare subsystem object for the time module. **/ ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] Fix typo in comment for hs_cell_parse_introduce2()
commit f93ee8e4c49f1274119300bb4983348341109141 Author: Neel Chauhan Date: Tue Oct 16 10:59:42 2018 -0400 Fix typo in comment for hs_cell_parse_introduce2() --- src/feature/hs/hs_cell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/feature/hs/hs_cell.c b/src/feature/hs/hs_cell.c index c6ca6746b..9bbae6d32 100644 --- a/src/feature/hs/hs_cell.c +++ b/src/feature/hs/hs_cell.c @@ -620,7 +620,7 @@ hs_cell_parse_intro_established(const uint8_t *payload, size_t payload_len) return ret; } -/* Parsse the INTRODUCE2 cell using data which contains everything we need to +/* Parse the INTRODUCE2 cell using data which contains everything we need to * do so and contains the destination buffers of information we extract and * compute from the cell. Return 0 on success else a negative value. The * service and circ are only used for logging purposes. */ ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] Fix typo in comment for getinfo_helper_current_time()
commit aab6aea1973c50e62b2269773fc262ad69f174fd Author: Neel Chauhan Date: Mon Aug 20 11:49:35 2018 -0400 Fix typo in comment for getinfo_helper_current_time() --- src/feature/control/control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/feature/control/control.c b/src/feature/control/control.c index da4b48fab..f71818241 100644 --- a/src/feature/control/control.c +++ b/src/feature/control/control.c @@ -2056,7 +2056,7 @@ getinfo_helper_listeners(control_connection_t *control_conn, } /** Implementation helper for GETINFO: answers requests for information about - * the current time in both local and UTF forms. */ + * the current time in both local and UTC forms. */ STATIC int getinfo_helper_current_time(control_connection_t *control_conn, const char *question, ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] Fix typo in control_event_hs_descriptor_content()
commit 3a2b5a5bcbb35cdedfb63a00391bbf15df69cd9b Author: Neel Chauhan Date: Wed Aug 8 00:12:00 2018 -0400 Fix typo in control_event_hs_descriptor_content() --- src/feature/control/control.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/feature/control/control.c b/src/feature/control/control.c index f22df30e1..da4b48fab 100644 --- a/src/feature/control/control.c +++ b/src/feature/control/control.c @@ -7702,11 +7702,11 @@ control_event_hsv3_descriptor_failed(const char *onion_address, tor_free(desc_id_field); } -/** Send HS_DESC_CONTENT event after completion of a successful fetch from hs - * directory. If hsdir_id_digest is NULL, it is replaced by "UNKNOWN". - * If content is NULL, it is replaced by an empty string. The - * onion_address or desc_id set to NULL will no trigger the - * control event. */ +/** Send HS_DESC_CONTENT event after completion of a successful fetch + * from hs directory. If hsdir_id_digest is NULL, it is replaced + * by "UNKNOWN". If content is NULL, it is replaced by an empty + * string. The onion_address or desc_id set to NULL will + * not trigger the control event. */ void control_event_hs_descriptor_content(const char *onion_address, const char *desc_id, ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] Fix typo in buffers.c.
commit a196fdb622590baaed46de0719daa151086c0ed6 Author: Alexander FærøyDate: Thu Sep 28 15:14:50 2017 +0200 Fix typo in buffers.c. --- src/common/buffers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/buffers.c b/src/common/buffers.c index bf10c5596..e9e448783 100644 --- a/src/common/buffers.c +++ b/src/common/buffers.c @@ -964,7 +964,7 @@ buf_get_line(buf_t *buf, char *data_out, size_t *data_len) return 1; } -/** Compress on uncompress the data_len bytes in data using the +/** Compress or uncompress the data_len bytes in data using the * compression state state, appending the result to buf. If * done is true, flush the data in the state and finish the * compression/uncompression. Return -1 on failure, 0 on success. */ ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo
commit a1f31c0671c82f95c6a9804df52e391e54d6d614 Author: Roger DingledineDate: Fri Sep 22 17:26:29 2017 -0400 fix typo --- src/or/statefile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/statefile.c b/src/or/statefile.c index 2d579a022..9ee80f2e3 100644 --- a/src/or/statefile.c +++ b/src/or/statefile.c @@ -409,7 +409,7 @@ or_state_load(void) if (apparent_skew < 0) { /* Initialize bootstrap event reporting because we might call * clock_skew_warning() before the bootstrap state is - * initialized, causing an asserttion failure. */ + * initialized, causing an assertion failure. */ control_event_bootstrap(BOOTSTRAP_STATUS_STARTING, 0); clock_skew_warning(NULL, (long)apparent_skew, 1, LD_GENERAL, "local state file", fname); ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo in comment
commit 2032b9b1b1385932f3f6bd731bb1c0b4f8dcee48 Author: Roger DingledineDate: Mon Aug 7 00:22:27 2017 -0400 fix typo in comment --- src/common/compat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/compat.c b/src/common/compat.c index f5991a640..836b3813e 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -2619,7 +2619,7 @@ tor_inet_pton(int af, const char *src, void *dst) long r = strtol(src, , 16); if (next == NULL || next == src) { /* The 'next == src' error case can happen on versions of openbsd - * where treats "0xfoo" as an error, rather than as "0" followed by + * which treat "0xfoo" as an error, rather than as "0" followed by * "xfoo". */ return 0; } ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo in comment
commit a18b41cc776196c41cf79bdab25592a7ce8bbcc5 Author: Roger DingledineDate: Fri May 19 22:14:56 2017 -0400 fix typo in comment --- src/or/entrynodes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c index 7a27cd0..51fda60 100644 --- a/src/or/entrynodes.c +++ b/src/or/entrynodes.c @@ -67,7 +67,7 @@ * * While we're building circuits, we track a little "guard state" for * each circuit. We use this to keep track of whether the circuit is - * one that we can use as soon as its done, or whether it's one that + * one that we can use as soon as it's done, or whether it's one that * we should keep around to see if we can do better. In the latter case, * a periodic call to entry_guards_upgrade_waiting_circuits() will * eventually upgrade it. ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo
commit 553cd7f0c5a45c0afdd6badb5170a59bf4ab3c71 Author: Roger DingledineDate: Fri May 19 02:06:44 2017 -0400 fix typo --- src/or/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/config.c b/src/or/config.c index 784ae0c..023d5f4 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -2775,7 +2775,7 @@ compute_publishserverdescriptor(or_options_t *options) #define MIN_REND_POST_PERIOD (10*60) #define MIN_REND_POST_PERIOD_TESTING (5) -/** Higest allowable value for CircuitsAvailableTimeout. +/** Highest allowable value for CircuitsAvailableTimeout. * If this is too large, client connections will stay open for too long, * incurring extra padding overhead. */ #define MAX_CIRCS_AVAILABLE_TIME (24*60*60) ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] Fix typo
commit 6dc25e79b98ed5cb9f29de174878333a1175f755 Author: overcaffeinatedDate: Sun Nov 20 18:09:16 2016 + Fix typo Remove stray 'To run' --- doc/HACKING/WritingTests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/HACKING/WritingTests.md b/doc/HACKING/WritingTests.md index de80bbd..4dae41e 100644 --- a/doc/HACKING/WritingTests.md +++ b/doc/HACKING/WritingTests.md @@ -48,7 +48,7 @@ isolation, you just run `./src/test/test-memwipe`. To run tests within the unit test programs, you can specify the name of the test. The string ".." can be used as a wildcard at the end of the test name. For example, to run all the cell format tests, enter -`./src/test/test cellfmt/..`. To run +`./src/test/test cellfmt/..`. Many tests that need to mess with global state run in forked subprocesses in order to keep from contaminating one another. But when debugging a failing test, ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] Fix typo error in bug warning in relay.c
commit 3fcd5d71ad3b8b05b60ef5b3a7a62c3d53625d55 Author: Nick MathewsonDate: Thu Sep 8 15:15:57 2016 -0400 Fix typo error in bug warning in relay.c --- src/or/relay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/relay.c b/src/or/relay.c index 38096ad..5fedba2 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -2454,7 +2454,7 @@ update_circuit_on_cmux_(circuit_t *circ, cell_direction_t direction, /* Cmux sanity check */ if (! circuitmux_is_circuit_attached(cmux, circ)) { -log_warn(LD_BUG, "called on non-attachd circuit from %s:%d", +log_warn(LD_BUG, "called on non-attached circuit from %s:%d", file, lineno); return; } ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo and possible confusion in changelog entry
commit 5e864b285e4338d18b52b5d6530360a8593bde77 Author: Roger DingledineDate: Wed Aug 24 13:57:31 2016 -0400 fix typo and possible confusion in changelog entry --- ChangeLog | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 153dc40..8fbda5a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,10 +11,10 @@ Changes in version 0.2.9.2-alpha - 2016-08-24 o Major bugfixes (client, security, also in 0.2.8.7): - Only use the ReachableAddresses option to restrict the first hop - in a path. Previously, it would apply to every hop in the path, - with a possible degredation in anonymity for anyone using an - uncommon ReachableAddress setting. Fixes bug 19973; bugfix - on 0.2.8.2-alpha. + in a path. In earlier versions of 0.2.8.x, it would apply to + every hop in the path, with a possible degradation in anonymity + for anyone using an uncommon ReachableAddress setting. Fixes bug + 19973; bugfix on 0.2.8.2-alpha. o Major features (user interface): - Tor now supports the ability to declare options deprecated, so ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo
commit 4dc7b3ca2825741311b6b849ed109053c643ee23 Author: Roger DingledineDate: Wed Jun 29 22:56:56 2016 -0400 fix typo --- src/or/dirvote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/dirvote.c b/src/or/dirvote.c index ad0696e..aa22119 100644 --- a/src/or/dirvote.c +++ b/src/or/dirvote.c @@ -2169,7 +2169,7 @@ networkstatus_add_detached_signatures(networkstatus_t *target, } } if (!n_matches) { - *msg_out = "No regognized digests for given consensus flavor"; + *msg_out = "No recognized digests for given consensus flavor"; } } ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo in comment
commit 1103d8249253889a270bc0891d1cad9647da65dd Author: Roger DingledineDate: Tue Mar 29 10:56:26 2016 -0400 fix typo in comment --- src/or/onion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/onion.c b/src/or/onion.c index d6ef367..4bed7ae 100644 --- a/src/or/onion.c +++ b/src/or/onion.c @@ -527,7 +527,7 @@ onion_skin_server_handshake(int type, * rend_authenticator_out to the "KH" field that can be used to * establish introduction points at this hop, and return 0. On failure, * return -1, and set *msg_out to an error message if this is worth - * complaining to the usre about. */ + * complaining to the user about. */ int onion_skin_client_handshake(int type, const onion_handshake_state_t *handshake_state, ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] Fix typo in comment on crypto_add_spaces_to_fp
commit 84d1373ba075febd5c362701a4dfee66ca9a5c19 Author: teor (Tim Wilson-Brown)Date: Mon Nov 23 18:59:11 2015 +1100 Fix typo in comment on crypto_add_spaces_to_fp --- src/common/crypto.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/crypto.c b/src/common/crypto.c index f5f9bbe..80345d4 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -1332,7 +1332,7 @@ crypto_pk_get_all_digests(crypto_pk_t *pk, digests_t *digests_out) } /** Copy in to the outlen-byte buffer out, adding spaces - * every four spaces. */ + * every four characters. */ void crypto_add_spaces_to_fp(char *out, size_t outlen, const char *in) { ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] Fix typo
commit 5eff39c846a62c1dbe4c0b9988f58e93e1229b98 Author: Donncha O'CearbhaillDate: Tue Jul 21 14:47:13 2015 +0200 Fix typo --- src/or/rendcache.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/rendcache.c b/src/or/rendcache.c index fe9a134..a914722 100644 --- a/src/or/rendcache.c +++ b/src/or/rendcache.c @@ -3,7 +3,7 @@ /** * \file rendcache.c - * \brief Hidden service desriptor cache. + * \brief Hidden service descriptor cache. **/ #include "rendcache.h" ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] Fix typo in double_digest_map type
commit 63db8170ae3e70b161210241187d21bef72fbf40 Author: Sebastian Hahn snseh...@cip.cs.fau.de Date: Fri Aug 14 02:12:35 2015 +0200 Fix typo in double_digest_map type --- src/or/dircollate.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/dircollate.c b/src/or/dircollate.c index 331e058..4c812c4 100644 --- a/src/or/dircollate.c +++ b/src/or/dircollate.c @@ -23,7 +23,7 @@ typedef struct ddmap_entry_s { vote_routerstatus_t *vrs_lst[FLEXIBLE_ARRAY_MEMBER]; } ddmap_entry_t; -struct double_digest_map_s *by_both_ids; +double_digest_map_t *by_both_ids; static void ddmap_entry_free(ddmap_entry_t *e) ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] Fix typo in comment about digest256map_t
commit c265621a525f23f5e208f5ca0c7211bd6c7483ce Author: David Goulet dgou...@ev0ke.net Date: Thu Jun 25 16:19:25 2015 -0400 Fix typo in comment about digest256map_t Signed-off-by: David Goulet dgou...@ev0ke.net --- src/common/container.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/container.h b/src/common/container.h index 125900c..2a6ba01 100644 --- a/src/common/container.h +++ b/src/common/container.h @@ -361,7 +361,7 @@ char *smartlist_join_strings2(smartlist_t *sl, const char *join, DECLARE_MAP_FNS(strmap_t, const char *, strmap_); /* Map from const char[DIGEST_LEN] to void *. Implemented with a hash table. */ DECLARE_MAP_FNS(digestmap_t, const char *, digestmap_); -/* Map from const uint8_t[DIGEST_LEN] to void *. Implemented with a hash +/* Map from const uint8_t[DIGEST256_LEN] to void *. Implemented with a hash * table. */ DECLARE_MAP_FNS(digest256map_t, const uint8_t *, digest256map_); ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo in comment
commit a1bdb6e42cea6b2a7b6f5dfb937752f9fd997599 Author: Roger Dingledine a...@torproject.org Date: Tue Mar 3 19:12:27 2015 -0500 fix typo in comment --- src/or/connection.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/connection.c b/src/or/connection.c index 7db0238..dcf716f 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -3774,7 +3774,7 @@ connection_fetch_from_buf_line(connection_t *conn, char *data, } } -/** As fetch_from_buf_http, but fetches from a conncetion's input buffer_t or +/** As fetch_from_buf_http, but fetches from a connection's input buffer_t or * its bufferevent as appropriate. */ int connection_fetch_from_buf_http(connection_t *conn, ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo
commit 660a35d97c1bc600521a5ece373e70477176fb1c Author: Roger Dingledine a...@torproject.org Date: Thu Jan 15 11:03:13 2015 -0500 fix typo --- src/or/rendclient.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/rendclient.c b/src/or/rendclient.c index 75c7b9a..4b7d85a 100644 --- a/src/or/rendclient.c +++ b/src/or/rendclient.c @@ -1083,7 +1083,7 @@ rend_client_desc_trynow(const char *query) * the hidden service named bonion_address/b. Called when a * connection attempt has ended; it is possible for this to be called * multiple times while handling an ended connection attempt, and - * any future changes to this functio n must ensure it remains + * any future changes to this function must ensure it remains * idempotent. */ void ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo in comment
commit d6b2a1709d28c656dadc019fb24145e6ac400771 Author: Roger Dingledine a...@torproject.org Date: Sat Sep 13 17:10:04 2014 -0400 fix typo in comment --- src/or/rendservice.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/rendservice.c b/src/or/rendservice.c index 749d6fa..31b612b 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -1754,7 +1754,7 @@ rend_service_parse_intro_for_v2( /* * We accept version 3 too so that the v3 parser can call this with - * and adjusted buffer for the latter part of a v3 cell, which is + * an adjusted buffer for the latter part of a v3 cell, which is * identical to a v2 cell. */ if (!(intro-version == 2 || ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] Fix: typo in torrc.sample.in
commit d0113a0c2a1ae01197f4ff769117803fb3bc70cf Author: Magnus Nord magnus.n...@ntnu.no Date: Tue Sep 2 19:16:16 2014 -0400 Fix: typo in torrc.sample.in --- src/config/torrc.minimal.in-staging |4 ++-- src/config/torrc.sample.in |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/config/torrc.minimal.in-staging b/src/config/torrc.minimal.in-staging index d842fbc..937a90d 100644 --- a/src/config/torrc.minimal.in-staging +++ b/src/config/torrc.minimal.in-staging @@ -1,5 +1,5 @@ ## Configuration file for a typical Tor user -## Last updated 9 October 2013 for Tor 0.2.5.2-alpha. +## Last updated 2 September 2014 for Tor 0.2.6.1-alpha. ## (may or may not work for much older or much newer versions of Tor.) ## ## Lines that begin with ## try to explain what's going on. Lines @@ -151,7 +151,7 @@ ## using more than one of your relays in a single circuit. See ## https://www.torproject.org/docs/faq#MultipleRelays ## However, you should never include a bridge's fingerprint here, as it would -## break its concealability and potentionally reveal its IP/TCP address. +## break its concealability and potentially reveal its IP/TCP address. #MyFamily $keyid,$keyid,... ## A comma-separated list of exit policies. They're considered first diff --git a/src/config/torrc.sample.in b/src/config/torrc.sample.in index d842fbc..937a90d 100644 --- a/src/config/torrc.sample.in +++ b/src/config/torrc.sample.in @@ -1,5 +1,5 @@ ## Configuration file for a typical Tor user -## Last updated 9 October 2013 for Tor 0.2.5.2-alpha. +## Last updated 2 September 2014 for Tor 0.2.6.1-alpha. ## (may or may not work for much older or much newer versions of Tor.) ## ## Lines that begin with ## try to explain what's going on. Lines @@ -151,7 +151,7 @@ ## using more than one of your relays in a single circuit. See ## https://www.torproject.org/docs/faq#MultipleRelays ## However, you should never include a bridge's fingerprint here, as it would -## break its concealability and potentionally reveal its IP/TCP address. +## break its concealability and potentially reveal its IP/TCP address. #MyFamily $keyid,$keyid,... ## A comma-separated list of exit policies. They're considered first ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo
commit 52d5ef5affcff3bfb873d576cf9611ec02c67767 Author: Roger Dingledine a...@torproject.org Date: Sun Aug 3 15:43:21 2014 -0400 fix typo --- src/or/reasons.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/reasons.c b/src/or/reasons.c index 750e89b..60b38f6 100644 --- a/src/or/reasons.c +++ b/src/or/reasons.c @@ -367,7 +367,7 @@ circuit_end_reason_to_control_string(int reason) } } -/** Return a string corresponding to a SOCKS4 reponse code. */ +/** Return a string corresponding to a SOCKS4 response code. */ const char * socks4_response_code_to_string(uint8_t code) { ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo that crept in to 0.2.4.4-alpha
commit a3d8ffe010d860b65b697767b867c3c37f186e36 Author: Roger Dingledine a...@torproject.org Date: Thu Jul 24 17:07:39 2014 -0400 fix typo that crept in to 0.2.4.4-alpha --- src/or/channel.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/channel.c b/src/or/channel.c index 964b3fc..3072eff 100644 --- a/src/or/channel.c +++ b/src/or/channel.c @@ -3352,7 +3352,7 @@ channel_dump_statistics(channel_t *chan, int severity) U64_PRINTF_ARG(chan-timestamp_recv), U64_PRINTF_ARG(now - chan-timestamp_recv)); tor_log(severity, LD_GENERAL, - * Channel U64_FORMAT last trasmitted a cell + * Channel U64_FORMAT last transmitted a cell at U64_FORMAT ( U64_FORMAT seconds ago), U64_PRINTF_ARG(chan-global_identifier), U64_PRINTF_ARG(chan-timestamp_xmit), ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo
commit 0eca8737a1a35204be92eac12f2bf8748ac29004 Author: Roger Dingledine a...@torproject.org Date: Thu Jul 18 23:35:20 2013 -0400 fix typo --- doc/tor.1.txt |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tor.1.txt b/doc/tor.1.txt index cd67d82..d5fab04 100644 --- a/doc/tor.1.txt +++ b/doc/tor.1.txt @@ -1669,7 +1669,7 @@ is non-zero): If it hits this threshold, it will begin killing circuits until it has recovered at least 10% of this memory. Do not set this option too low, or your relay may be unreliable under load. This option only -effects circuit queues, so the actual process size will be larger than +affects circuit queues, so the actual process size will be larger than this. (Default: 8GB) DIRECTORY SERVER OPTIONS ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo
commit 2920d670debaaa7a306bedd5fd7ce9c3e72124e6 Author: Roger Dingledine a...@torproject.org Date: Thu Jul 18 23:35:20 2013 -0400 fix typo --- doc/tor.1.txt |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tor.1.txt b/doc/tor.1.txt index bade531..d13ec20 100644 --- a/doc/tor.1.txt +++ b/doc/tor.1.txt @@ -1679,7 +1679,7 @@ is non-zero): If it hits this threshold, it will begin killing circuits until it has recovered at least 10% of this memory. Do not set this option too low, or your relay may be unreliable under load. This option only -effects circuit queues, so the actual process size will be larger than +affects circuit queues, so the actual process size will be larger than this. (Default: 8GB) DIRECTORY SERVER OPTIONS ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo
commit e17fd57782997149bfa2943227de5c26ef005a74 Author: Roger Dingledine a...@torproject.org Date: Tue Oct 23 17:15:28 2012 -0400 fix typo --- src/or/policies.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/or/policies.c b/src/or/policies.c index dee0380..5c02344 100644 --- a/src/or/policies.c +++ b/src/or/policies.c @@ -1517,7 +1517,7 @@ short_policy_is_reject_star(const short_policy_t *policy) policy-entries[0].max_port == 65535); } -/** Decides whether addr:port is probably or definitely accepted or rejcted by +/** Decides whether addr:port is probably or definitely accepted or rejected by * bnode/b. See compare_tor_addr_to_addr_policy for details on addr/port * interpretation. */ addr_policy_result_t ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] Fix typo in comment
commit 4686638743919513baa72001d4676996f5e53c14 Author: Andrea Shepard and...@torproject.org Date: Mon Oct 8 20:15:09 2012 -0700 Fix typo in comment --- src/or/channel.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/or/channel.h b/src/or/channel.h index 182639e..8fb29d8 100644 --- a/src/or/channel.h +++ b/src/or/channel.h @@ -12,7 +12,7 @@ #include or.h /* - * Channel struct; see thw channel_t typedef in or.h. A channel is an + * Channel struct; see the channel_t typedef in or.h. A channel is an * abstract interface for the OR-to-OR connection, similar to connection_or_t, * but without the strong coupling to the underlying TLS implementation. They * are constructed by calling a protocol-specific function to open a channel ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] Fix typo in config parser documentation
commit a753ef8517e02e33cec064394a25e29ea89e6145 Author: Esteban Manchado Velázquez emanch...@demiurgo.org Date: Fri Feb 3 21:05:58 2012 +0100 Fix typo in config parser documentation --- src/common/util.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/common/util.c b/src/common/util.c index ecf49a6..f35a796 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -2445,7 +2445,7 @@ parse_config_line_from_str(const char *line, char **key_out, char **value_out) KEYCHAR = Any character except ' ', '\r', '\n', '\t', '#', \ VALUES = QUOTEDVALUE | NORMALVALUE - QUOTEDVALUE = QUOTE QVITEM* QUOTE EOLSPACE? + QUOTEDVALUE = QUOTE QVCHAR* QUOTE EOLSPACE? QUOTE = '' QVCHAR = KEYCHAR | ESC ('n' | 't' | 'r' | '' | ESC |'\'' | OCTAL | HEX) ESC = \\ ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] Fix typo, spotted by tmpname0901. Thanks!
commit f6b1dc2805ce23d4f7fddcf2714b13f718d20038 Author: Sebastian Hahn sebast...@torproject.org Date: Fri Oct 28 11:19:16 2011 +0200 Fix typo, spotted by tmpname0901. Thanks! --- changes/bug4331|4 src/or/hibernate.c |2 +- 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/changes/bug4331 b/changes/bug4331 new file mode 100644 index 000..011238a --- /dev/null +++ b/changes/bug4331 @@ -0,0 +1,4 @@ + o Trivial fixes: +- Fixed a typo in a hibernation-related log message. Fixes bug 4331; + bugfix on 0.2.2.23-alpha; found by tmpname0901. + diff --git a/src/or/hibernate.c b/src/or/hibernate.c index aebce4c..2f7170f 100644 --- a/src/or/hibernate.c +++ b/src/or/hibernate.c @@ -943,7 +943,7 @@ consider_hibernation(time_t now) if (hibernate_soft_limit_reached()) { log_notice(LD_ACCT, Bandwidth soft limit reached; commencing hibernation. - No new conncetions will be accepted); + No new connections will be accepted); hibernate_begin(HIBERNATE_STATE_LOWBANDWIDTH, now); } else if (accounting_enabled now interval_wakeup_time) { format_local_iso_time(buf,interval_wakeup_time); ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits