hunt for killerchicken's socket counting problem

svn:r13578
This commit is contained in:
Roger Dingledine 2008-02-19 19:27:55 +00:00
parent be8a85dc1c
commit ab4d3888e4

View File

@ -509,6 +509,7 @@ tor_close_socket(int s)
#else
close(s);
#endif
tor_assert(n_sockets_open > 0);
--n_sockets_open;
}