[or-cvs] Fix an assert that still isnt the assert we are hunting.

Nick Mathewson nickm at seul.org
Sun Jun 18 21:15:03 UTC 2006


Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv11209/src/or

Modified Files:
	dirserv.c 
Log Message:
Fix an assert that still isnt the assert we are hunting.

Index: dirserv.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/dirserv.c,v
retrieving revision 1.339
retrieving revision 1.340
diff -u -p -d -r1.339 -r1.340
--- dirserv.c	18 Jun 2006 20:58:27 -0000	1.339
+++ dirserv.c	18 Jun 2006 21:15:01 -0000	1.340
@@ -1843,7 +1843,7 @@ connection_dirserv_flushed_some(connecti
   tor_assert(conn->state == DIR_CONN_STATE_SERVER_WRITING);
 
   if (conn->dir_refresh_src == DIR_REFRESH_NONE
-      || buf_datalen(conn->outbuf) > DIRSERV_BUFFER_MIN)
+      || buf_datalen(conn->outbuf) >= DIRSERV_BUFFER_MIN)
     return 0;
 
   switch (conn->dir_refresh_src) {



More information about the tor-commits mailing list