mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
hunt for killerchicken's socket counting problem
svn:r13578
This commit is contained in:
@@ -509,6 +509,7 @@ tor_close_socket(int s)
|
||||
#else
|
||||
close(s);
|
||||
#endif
|
||||
tor_assert(n_sockets_open > 0);
|
||||
--n_sockets_open;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user