Skip to content
Snippets Groups Projects
Commit 5bcd8dc5 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

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.
parent b9b5f9a1
No related branches found
No related tags found
No related merge requests found
......@@ -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) */
/** @} */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment