aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-02-08 23:41:29 +0000
committerNick Mathewson <nickm@torproject.org>2008-02-08 23:41:29 +0000
commit8f7fcdd64e1e155f22ed9b4916e4eacc30a3b341 (patch)
tree86c4b5a5ad680ac9a4c9235d161a6195f8dcc559 /src/or/or.h
parent272d37deb3ed7e3dc1c713666aaac3b914d3ae33 (diff)
downloadtor-8f7fcdd64e1e155f22ed9b4916e4eacc30a3b341.tar
tor-8f7fcdd64e1e155f22ed9b4916e4eacc30a3b341.tar.gz
r17991@catbus: nickm | 2008-02-08 18:41:26 -0500
More protocol negotiation work. Make the negotiation actually complete and set the state to open. Fix a crash bug that occured when we forcibly stopped the connection from writing. svn:r13434
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 50c2c9337..ca6e062a4 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -892,9 +892,9 @@ typedef struct or_handshake_state_t {
time_t sent_versions_at;
unsigned int started_here : 1;
unsigned int received_versions : 1;
- unsigned int received_netinfo : 1;
- /* from netinfo */
+ /* from netinfo: XXXX020 totally useless. */
+ unsigned int received_netinfo : 1;
long apparent_skew;
uint32_t my_apparent_addr;
unsigned int apparently_canonical;