]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
update comment to reflect our TOR_INVALID_SOCKET convention
authorRoger Dingledine <arma@torproject.org>
Mon, 23 Jan 2012 00:39:29 +0000 (19:39 -0500)
committerRoger Dingledine <arma@torproject.org>
Mon, 23 Jan 2012 00:39:29 +0000 (19:39 -0500)
src/or/or.h

index 8b0b3fed3aa069d72219d5764059e8f1997cc526..9ac8717ed28263969eddb8736e2b5a274fa7a922 100644 (file)
@@ -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. */