[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r13578: hunt for killerchicken's socket counting problem (tor/trunk/src/common)
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;
}