Commit d61835a4 authored by Roger Dingledine's avatar Roger Dingledine
Browse files

clean up the socket counting thing. third time's a charm.

parent f4dc006f
......@@ -525,7 +525,9 @@ tor_close_socket(int s)
r = -1;
tor_assert(n_sockets_open > 0);
if (n_sockets_open < 0)
log_warn(LD_BUG, "Our socket count is below zero: %d. Please submit a "
"bug report.", n_sockets_open);
return r;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment