[or-cvs] r13578: hunt for killerchicken's socket counting problem (tor/trunk/src/common)
arma at seul.org
arma at seul.org
Tue Feb 19 19:27:55 UTC 2008
Author: arma
Date: 2008-02-19 14:27:55 -0500 (Tue, 19 Feb 2008)
New Revision: 13578
Modified:
tor/trunk/src/common/compat.c
Log:
hunt for killerchicken's socket counting problem
Modified: tor/trunk/src/common/compat.c
===================================================================
--- tor/trunk/src/common/compat.c 2008-02-19 18:54:44 UTC (rev 13577)
+++ tor/trunk/src/common/compat.c 2008-02-19 19:27:55 UTC (rev 13578)
@@ -509,6 +509,7 @@
#else
close(s);
#endif
+ tor_assert(n_sockets_open > 0);
--n_sockets_open;
}
More information about the tor-commits
mailing list