diff options
author | Roger Dingledine <arma@torproject.org> | 2006-10-07 09:13:30 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-10-07 09:13:30 +0000 |
commit | 9fb98b269c0b8a7ac3cd2cb3228d0810c3416ffa (patch) | |
tree | 5e16818b5118d3cef4ccb24ba035879a7562dc02 /src/or | |
parent | a339449a41fb4d05f9c996df457ba03093d43502 (diff) | |
download | tor-9fb98b269c0b8a7ac3cd2cb3228d0810c3416ffa.tar tor-9fb98b269c0b8a7ac3cd2cb3228d0810c3416ffa.tar.gz |
finish poking and prodding. i'm all happy now.
svn:r8633
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/circuitbuild.c | 2 | ||||
-rw-r--r-- | src/or/connection_edge.c | 2 | ||||
-rw-r--r-- | src/or/control.c | 8 | ||||
-rw-r--r-- | src/or/or.h | 1 |
4 files changed, 6 insertions, 7 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index caed74c89..d59d4fa67 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -218,7 +218,7 @@ circuit_log_path(int severity, unsigned int domain, origin_circuit_t *circ) * extended; the _first_ hop that isn't open (if any) is marked as * unable to extend. */ -/* XXXX Someday we should learn from or circuits too. */ +/* XXXX Someday we should learn from OR circuits too. */ void circuit_rep_hist_note_result(origin_circuit_t *circ) { diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index f942858a7..0ca76d5ef 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -2144,7 +2144,7 @@ connection_exit_connect(edge_connection_t *edge_conn) * bridge connection with a socketpair, create a new directory conn, and join * them together. Return 0 on success (or if there was an error we could send * back an end cell for). Return -1 if the circuit needs to be torn down. - * Either connects exit_conn, or frees it, or marks it, as appropriate. + * Either connects exit_conn, frees it, or marks it, as appropriate. */ static int connection_exit_connect_dir(edge_connection_t *exit_conn) diff --git a/src/or/control.c b/src/or/control.c index 288874673..dc9cb60b9 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -63,7 +63,7 @@ const char control_c_id[] = #define ERR_NO_ROUTER 0x000C /* Recognized asynchronous event types. It's okay to expand this list - * because it use used both as a list of v0 event types, and as indices + * because it is used both as a list of v0 event types, and as indices * into the bitfield to determine which controllers want which events. */ #define _EVENT_MIN 0x0001 @@ -1058,8 +1058,8 @@ handle_control_authenticate(control_connection_t *conn, uint32_t len, if (base16_decode(password, i/2+1, body, i)<0) { connection_write_str_to_buf( "551 Invalid hexadecimal encoding. Maybe you tried a plain text " - "password? If so, the standard requires you put it in double " - "quotes.\r\n", conn); + "password? If so, the standard requires that you put it in " + "double quotes.\r\n", conn); tor_free(password); return 0; } @@ -1108,7 +1108,7 @@ handle_control_authenticate(control_connection_t *conn, uint32_t len, else errstr = "Password did not match HashedControlPassword value from " "configuration. Maybe you tried a plain text password? " - "If so, the standard requires you put it in double quotes."; + "If so, the standard requires that you put it in double quotes."; goto err; } else { /* if Tor doesn't demand any stronger authentication, then diff --git a/src/or/or.h b/src/or/or.h index 78e2de827..792b69b12 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -2558,7 +2558,6 @@ typedef enum { V1_AUTHORITY, V2_AUTHORITY, HIDSERV_AUTHORITY, } authority_type_t; routerstatus_t *router_pick_trusteddirserver(authority_type_t type, - int requireother, int fascistfirewall, int retry_if_no_servers); |