mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Make the mark_socket_open() no-op treat the socket as used.
This is preliminary for extracting the "take socket ownership" code into its own function.
This commit is contained in:
+1
-1
@@ -1186,7 +1186,7 @@ mark_socket_open(tor_socket_t s)
|
||||
bitarray_set(open_sockets, s);
|
||||
}
|
||||
#else /* !(defined(DEBUG_SOCKET_COUNTING)) */
|
||||
#define mark_socket_open(s) STMT_NIL
|
||||
#define mark_socket_open(s) ((void) (s))
|
||||
#endif /* defined(DEBUG_SOCKET_COUNTING) */
|
||||
/** @} */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user