diff options
author | Roger Dingledine <arma@torproject.org> | 2012-01-22 19:39:29 -0500 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2012-01-22 19:39:29 -0500 |
commit | 2de0eeaa720a118f1644656586b27e67dfd24ef2 (patch) | |
tree | ca68c5dd32ec18d7f50c0d2bc8cedaa30c0540fb | |
parent | 1543d1bd317e7d11608a71b91728af6e1ab9fa14 (diff) | |
download | tor-2de0eeaa720a118f1644656586b27e67dfd24ef2.tar.gz tor-2de0eeaa720a118f1644656586b27e67dfd24ef2.zip |
update comment to reflect our TOR_INVALID_SOCKET convention
-rw-r--r-- | src/or/or.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h index 8b0b3fed3a..9ac8717ed2 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1020,7 +1020,8 @@ typedef struct connection_t { /** CONNECT/SOCKS proxy client handshake state (for outgoing connections). */ unsigned int proxy_state:4; - /** Our socket; -1 if this connection is closed, or has no socket. */ + /** Our socket; set to TOR_INVALID_SOCKET if this connection is closed, + * or has no socket. */ tor_socket_t s; int conn_array_index; /**< Index into the global connection array. */ |