mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
update comment to reflect our TOR_INVALID_SOCKET convention
This commit is contained in:
parent
1543d1bd31
commit
2de0eeaa72
@ -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. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user